Union type representing all possible test write function types in AutoBE.
This discriminated union encompasses all test file generation operations:
AutoBeTestPrepareFunction: Generates test data preparation functions that
create mock DTO objects required by API endpoints
AutoBeTestGenerationFunction: Creates resource generation functions that
produce test data and utilities needed by test scenarios
AutoBeTestAuthorizationFunction: Implements authentication and
authorization functions for different actors (login, signup, token
refresh)
AutoBeTestOperationFunction: Writes the actual E2E test scenario files with
complete test implementations
Each function type serves a specific purpose in building comprehensive test
suites, from data preparation through authentication to actual scenario
validation. The discriminated union pattern enables type-safe handling of
different test writing stages while providing detailed progress tracking.
Union type representing all possible test write function types in AutoBE.
This discriminated union encompasses all test file generation operations:
AutoBeTestPrepareFunction: Generates test data preparation functions that create mock DTO objects required by API endpointsAutoBeTestGenerationFunction: Creates resource generation functions that produce test data and utilities needed by test scenariosAutoBeTestAuthorizationFunction: Implements authentication and authorization functions for different actors (login, signup, token refresh)AutoBeTestOperationFunction: Writes the actual E2E test scenario files with complete test implementationsEach function type serves a specific purpose in building comprehensive test suites, from data preparation through authentication to actual scenario validation. The discriminated union pattern enables type-safe handling of different test writing stages while providing detailed progress tracking.