/generate
Generate is a experimental feature that instructs testdriverai
to come up with it's own prompts! The /generate
command is used in our Test Generationdemo.
/generate
will look at the display and generate lists of exploratory prompts that can be used to generate tests. Each exploratory test looks like a simple markdown file with a list inside.
Check out this test-search-function.md
for example:
TestDriver will generate 10 of these files every time the /generate
command is called. The files will be stored in ./testdriver/generate/*.md
.
Now, you can manually feed these prompts in Installing via NPM but the best way to use the /generate
command is to generate regression tests using our GitHub action.
Every test will be run in parallel, and the resulting YML can be merged into a regression test!
Last updated