import pytest import sys import os def main(): """ Orchestrates the end-to-end unit and integration tests. Automatically mocks heavy deep learning models to ensure fast, deterministic execution. """ print("==================================================") print("Starting ATLAS-GEOFUSE Test Suite & Coverage Run") print("==================================================") # Force mock models so we don't attempt to download or run PyTorch weights on CI/CD os.environ["USE_MOCK_MODELS"] = "1" args = [ "tests/", "-v", "--cov=.", "--cov-report=term-missing", "--cov-report=html" ] sys.exit(pytest.main(args)) if __name__ == "__main__": main()