Generate exploratory tests
Launchtestdriverai
in interactive mode with the following command:
generate
command.
testdriver/generate
directory. You can change the number of tests generated by changing the number after 10
. The generated tests will be in the form of a .yaml
file, and you can run them using your test runner of choice (local or cloud hosted).
Generate regression tests from exploratory tests
Now it’s time to generate the regression test. Run the tests with therun
command and use the --write
parameter:
commands
, TestDriver falls back to the prompt
.
--write
command, TestDriver appends any generated commands to the test file.
So as your test run, TestDriver will append successful commands to the YAML file and save it.