(yaml_file)
| 172 | |
| 173 | |
| 174 | async def main(yaml_file): |
| 175 | data = load_yaml(yaml_file) |
| 176 | global_variables = data.get('variables', {}) |
| 177 | tests = data.get('tests', []) |
| 178 | |
| 179 | for test in tests: |
| 180 | iterations = test.get('iterations', 50) |
| 181 | exclusions = test.get('exclude', []) |
| 182 | if 'asyncpg' in exclusions: |
| 183 | print(f"Skipping test '{test['name']}' because it is excluded for asyncpg.") |
| 184 | continue |
| 185 | for _ in range(iterations): |
| 186 | print(f"Running test '{test['name']}' (iteration {_ + 1})") |
| 187 | await run_test(test, global_variables) |
| 188 | |
| 189 | |
| 190 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…