🖇️Modularization

Modularization lets you design flexible, maintainable test suites by breaking complex scenarios into reusable components. By leveraging both test dependencies and prompt references, you can mirror real user flows, reduce duplication, and streamline updates. This approach supports scalable, organized testing—making it easier to adapt as your app evolves.

GPT Driver supports two modularization methods—Test Dependencies and Prompt References—so you can build flexible, reusable, and maintainable test flows.

Test Dependencies - Chain tests to reflect real user journeys. Ensure each test runs in the correct order, improving reliability and reducing setup work for complex scenarios.

Prompt References - Nest prompts or tests inside others for modular, reusable test flows. Build scalable, maintainable test suites that adapt easily as your app grows.

Last updated