Structs§
- Generation
Test - Configuration for a generation test
- Generation
Test Result - Result of a generation test
- Generator
Config Overrides - Overrides for generator configuration
- Test
Scenario - A test scenario to generate
Enums§
- Construction
Assertion - Assertion to make on a constructed value
- Field
Value - Value to use when constructing a field
- Test
Behavior - Different test behaviors we can generate
Functions§
- assert_
compilation_ success - Assert that the test compiled successfully
- assert_
no_ underscores_ in_ type_ name - Assert that a type name doesn’t contain underscores
- find_
type_ definition - Find a type definition in the generated files
- minimal_
spec - Helper to create a minimal OpenAPI spec for testing
- run_
generation_ test - Run a complete generation test
- should_
compile_ tests - Check if we should run full compilation tests (via environment variable)
- test_
generation - Fast test function that only validates syntax (no compilation) When called from tests, automatically creates/verifies snapshots