cpython/Lib/test/libregrtest
Victor Stinner db5bfe91f8
gh-109162: libregrtest: add TestResults class (#109208)
* 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'.
2023-09-10 02:30:43 +00:00
..
__init__.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
cmdline.py gh-109162: Refactor libregrtest.Regrtest (#109206) 2023-09-10 03:07:05 +02:00
main.py gh-109162: libregrtest: add TestResults class (#109208) 2023-09-10 02:30:43 +00:00
pgo.py gh-109162: Refactor libregrtest.Regrtest (#109206) 2023-09-10 03:07:05 +02:00
refleak.py gh-109162: Refactor libregrtest.RunTests (#109177) 2023-09-09 09:18:14 +00:00
results.py gh-109162: libregrtest: add TestResults class (#109208) 2023-09-10 02:30:43 +00:00
runtest.py gh-109162: Refactor libregrtest.Regrtest (#109206) 2023-09-10 03:07:05 +02:00
runtest_mp.py gh-109162: libregrtest: add TestResults class (#109208) 2023-09-10 02:30:43 +00:00
save_env.py regrtest computes statistics (#108793) 2023-09-02 18:09:36 +02:00
setup.py gh-109162: libregrtest: remove WorkerJob class (#109204) 2023-09-10 01:41:21 +02:00
utils.py gh-108834: regrtest reruns failed tests in subprocesses (#108839) 2023-09-03 21:37:15 +00:00
win_utils.py bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578) 2022-03-22 00:06:55 +00:00