//! End-to-end (E2E) tests for OpenFang. //! //! These tests boot the real daemon with actual HTTP endpoints and test //! the full system integration. Tests can run in parallel using different //! ports. //! //! ## Running Tests //! //! ```bash //! # Run all E2E tests //! cargo test --test e2e_test //! //! # Run specific test //! cargo test --test e2e_test -- test_health_endpoint //! //! # Run with LLM integration (requires GROQ_API_KEY) //! GROQ_API_KEY=your_key cargo test --test e2e_test -- --ignored //! ``` //! //! ## Parallel Execution //! //! Each test gets its own isolated environment: //! - Unique random port (bound to 127.0.0.1:0) //! - Isolated temp directory for data //! - Separate kernel instance //! //! Tests are designed to be independent and can run concurrently. // Common test utilities mod e2e_common; // Test fixtures mod e2e_fixtures; // Test modules mod e2e_api_test; // Re-export for convenience pub use e2e_common::*; pub use e2e_fixtures::*;