Tests Folder
This folder contains automated verification for backend behavior and browser flows.
Files
-
conftest.pyShared pytest fixtures, including the test-only mock generator and temporary storage setup. -
test_feedback.pyFeedback normalization unit tests. -
test_generation_engine.pyGeneration backend selection, GPU policy, and mock-backend gating tests. -
test_huggingface_setup.pyTests for Hugging Face asset preparation helpers. -
test_runtime_policy.pyRuntime startup policy tests, including GPU-only enforcement. -
test_session_lifecycle.pyIntegration tests for experiment/session lifecycle, async job flow, replay export, diagnostics, and trace-report generation. -
test_tracing.pyTrace persistence tests for backend and frontend events, including per-session HTML report output. -
e2e/Playwright browser tests.
Testing policy
Normal automated tests use the explicit test-only mock generator so logic can be validated without requiring real GPU generation on every run.