Expand description
Test context builders for all FORGE function types.
Each test context provides:
- Authentication configuration (user ID, roles, claims)
- Optional database pool for integration tests
- Mocking capabilities (HTTP, job dispatch, workflow dispatch)
- Context-specific fields (job_id, attempt, cron schedule, etc.)
Structsยง
- Test
Action Context - Test context for action functions.
- Test
Action Context Builder - Builder for TestActionContext.
- Test
Cron Context - Test context for cron functions.
- Test
Cron Context Builder - Builder for TestCronContext.
- Test
JobContext - Test context for job functions.
- Test
JobContext Builder - Builder for TestJobContext.
- Test
Mutation Context - Test context for mutation functions.
- Test
Mutation Context Builder - Builder for TestMutationContext.
- Test
Progress Update - Progress update recorded during testing.
- Test
Query Context - Test context for query functions.
- Test
Query Context Builder - Builder for TestQueryContext.
- Test
Workflow Context - Test context for workflow functions.
- Test
Workflow Context Builder - Builder for TestWorkflowContext.