Отдельные документы о тестировании
This commit is contained in:
19
Report/scripts/gen_test_listings.py
Executable file
19
Report/scripts/gen_test_listings.py
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Сгенерировать Typst-листинги автотестов (аналог приложения А, только src/test и androidTest)."""
|
||||
from __future__ import annotations
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def main() -> int:
|
||||
script_dir = Path(__file__).resolve().parent
|
||||
config = script_dir.parent / "listings" / "tests-listings.config.yaml"
|
||||
return subprocess.call(
|
||||
[sys.executable, str(script_dir / "gen_listings.py"), "--config", str(config)],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
Reference in New Issue
Block a user