Generate Tests

IDE Assist: Trigger via the IDE command Generate Unit Tests

To generate tests for your annotated classes, you can use our simple command line across any platform Linux/MacOS and Windows.

dart run welltested:ai build

The request can take anywhere between 1-10 minutes to generate tests depending upon the number of new methods.

After successful run, the tests appear in /test directory of you project.

For convenience, we request you to generate tests in batches for a new project setup. Check The Batching Rule

Maintaining Tests

If you make any changes to your existing functions or add new methods, you can re run the same commands and the AI will smartly update the tests.