diff --git a/cweval/run_tests.py b/cweval/run_tests.py index f8dca97..24ddd2b 100644 --- a/cweval/run_tests.py +++ b/cweval/run_tests.py @@ -86,8 +86,10 @@ def run_tests( timeout_per_test: float = 3, args: List[str] = ['-k', 'not _unsafe'], ) -> List[TestFileResult]: + print(f'Start running tests in {test_path = }', flush=True) result_collector = TestResultCollector(timeout_per_test=timeout_per_test) pytest.main([test_path, '--tb=short', *args], plugins=[result_collector]) + print(f'Finished running tests in {test_path = }', flush=True) return list(result_collector.file_results.values())