mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
refactor: split e2e and audit suites by subject
test_e2e.py (7,245 lines) becomes eight test_e2e_* modules whose TestE2E* classes inherit the shared scenario from tests/e2esupport.py. test_audit_regressions.py (8,391 lines) becomes eight test_audit_* modules, its constants in tests/auditsupport.py. Test bodies move verbatim and every test id keeps its method name.
This commit is contained in:
1 parent
6dd9970fb6
commit
623ef5cabe
25 files changed
+15966
-15652
No files matched your search
@@ -25,7 +25,7 @@ from __future__ import annotations
|
||||
DEFAULT_MODE = "existence"
|
||||
|
||||
#: Every verification mode a platform YAML may declare. Mirrors the enum in
|
||||
#: schemas/platform.schema.json, and tests/test_audit_regressions.py pins them
|
||||
#: schemas/platform.schema.json, and tests/test_native_mode.py pins them
|
||||
#: together so a new mode cannot be added to one without the other.
|
||||
MODES = ("existence", "md5", "sha1")
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Usage:
|
||||
python scripts/run_tests.py # every module, a few at a time
|
||||
python scripts/run_tests.py --jobs 1 # one at a time, as discover runs
|
||||
python scripts/run_tests.py tests.test_install tests.test_e2e
|
||||
python scripts/run_tests.py tests.test_install tests.test_e2e_region
|
||||
|
||||
unittest's discovery runs 8,500 tests in one process: about 40 minutes
|
||||
here and 85 on the CI runner, and a module that left a variable or a flag
|
||||
|
||||
Reference in new issue
Block a user