forge_core/testing/context/
mod.rs

1//! Test context builders for all FORGE function types.
2//!
3//! Each test context provides:
4//! - Authentication configuration (user ID, roles, claims)
5//! - Optional database pool for integration tests
6//! - Mocking capabilities (HTTP, job dispatch, workflow dispatch)
7//! - Context-specific fields (job_id, attempt, cron schedule, etc.)
8
9mod action;
10mod cron;
11mod job;
12mod mutation;
13mod query;
14mod workflow;
15
16pub use action::{TestActionContext, TestActionContextBuilder};
17pub use cron::{TestCronContext, TestCronContextBuilder};
18pub use job::{TestJobContext, TestJobContextBuilder, TestProgressUpdate};
19pub use mutation::{TestMutationContext, TestMutationContextBuilder};
20pub use query::{TestQueryContext, TestQueryContextBuilder};
21pub use workflow::{TestWorkflowContext, TestWorkflowContextBuilder};