Run all MARS tests
()
| 540 | |
| 541 | |
| 542 | def run_tests(): |
| 543 | """Run all MARS tests""" |
| 544 | print("Running MARS comprehensive tests...") |
| 545 | print("=" * 80) |
| 546 | |
| 547 | # Run unittest tests |
| 548 | suite = unittest.TestLoader().loadTestsFromTestCase(TestMARSParallel) |
| 549 | runner = unittest.TextTestRunner(verbosity=2) |
| 550 | result = runner.run(suite) |
| 551 | |
| 552 | # Run additional function tests |
| 553 | try: |
| 554 | test_mars_agent_temperatures() |
| 555 | except Exception as e: |
| 556 | print(f"❌ Agent temperatures test failed: {e}") |
| 557 | |
| 558 | print("=" * 60) |
| 559 | |
| 560 | if result.wasSuccessful(): |
| 561 | print("🎉 All MARS tests passed!") |
| 562 | return True |
| 563 | else: |
| 564 | print("❌ Some MARS tests failed") |
| 565 | return False |
| 566 | |
| 567 | |
| 568 | if __name__ == "__main__": |
no test coverage detected