CircuitScope / backend_test.py
Gaurav711's picture
feat: complete live cpu inference, research sweep, blog & production build
2d4e3e5
Raw
History Blame Contribute Delete
600 Bytes
#!/usr/bin/env python3
"""
Backend API Testing entry point for CircuitScope.
Invokes the main integration test suite from the tests/ directory.
"""
import sys
import subprocess
import os
def main():
# Make sure we run relative to the workspace directory
current_dir = os.path.dirname(os.path.abspath(__file__))
test_path = os.path.join(current_dir, "tests", "test_core.py")
print(f"🚀 Running integration tests via {test_path}...")
result = subprocess.run([sys.executable, test_path], cwd=current_dir)
sys.exit(result.returncode)
if __name__ == "__main__":
main()