new test framework #1

Merged
dan merged 47 commits from wip-new-framework into dev 2023-11-22 21:40:14 +01:00
Showing only changes of commit 4534ee892b - Show all commits

View file

@ -16,6 +16,7 @@ class Runner:
sub_tests: list[SubTest] = []
def __init__(self, dotenv_path: Path):
ic(f"creating instance of {self.__class__.__name__}")
assert self.test_dir_name is not None
self.root_dir = Path(__file__).parent
self.dotenv_path = dotenv_path
@ -25,6 +26,7 @@ class Runner:
self._run_pytest(self.main_test_name)
def _run_pytest(self, test_name: str):
ic(f"running test: {test_name}")
pytest.main(
[
"-v",