()
| 352 | |
| 353 | |
| 354 | def main(): |
| 355 | wait_for_duckgres() |
| 356 | |
| 357 | rc = ReportClient("sqlalchemy") |
| 358 | r = Results(rc) |
| 359 | test_connection(r) |
| 360 | test_shared_queries(r) |
| 361 | test_core_ddl_dml(r) |
| 362 | test_orm(r) |
| 363 | test_inspection(r) |
| 364 | test_raw_params(r) |
| 365 | |
| 366 | print(f"\n{'='*50}") |
| 367 | print(f"Results: {r.passed} passed, {r.failed} failed") |
| 368 | if r.errors: |
| 369 | print("\nFailures:") |
| 370 | for name, reason in r.errors: |
| 371 | print(f" - {name}: {reason}") |
| 372 | print(f"{'='*50}") |
| 373 | |
| 374 | rc.done() |
| 375 | sys.exit(1 if r.failed else 0) |
| 376 | |
| 377 | |
| 378 | if __name__ == "__main__": |
no test coverage detected