Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-109162: libregrtest: add TestResults class #109208

Merged
merged 2 commits into from
Sep 10, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 10, 2023

  • Add TestResults class.

  • Move Regrtest methods to TestResults:

    • accumulate_result(): now takes a RunTests parameter
    • get_executed()
    • no_tests_run()
  • Add methods to TestResults:

    • add_junit()
    • display_result()
    • display_summary()
    • need_rerun()
    • prepare_rerun()
    • write_junit()
  • Rename 'need_rerun' attribute to 'bad_results'.

  • Rename 'total_stats' attribute to 'stats'.

* Add TestResults class.
* Move Regrtest methods to TestResults:

  * accumulate_result(): now takes a RunTests parameter
  * get_executed()
  * no_tests_run()

* Add methods to TestResults:

  * add_junit()
  * display_result()
  * display_summary()
  * need_rerun()
  * prepare_rerun()
  * write_junit()

* Rename 'need_rerun' attribute to 'bad_results'.
* Rename 'total_stats' attribute to 'stats'.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@vstinner vstinner disabled auto-merge September 10, 2023 01:57
@vstinner vstinner enabled auto-merge (squash) September 10, 2023 01:57
@vstinner vstinner disabled auto-merge September 10, 2023 02:26
@vstinner vstinner enabled auto-merge (squash) September 10, 2023 02:26
@vstinner vstinner merged commit db5bfe9 into python:main Sep 10, 2023
@vstinner vstinner deleted the regrtest_refactor11 branch September 10, 2023 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants