Welltested Docs
v1.x.x
v1.x.x
  • Welltested AI
    • Set up
    • Unit Tests
      • Annotation
      • Generate Tests
      • Save Tests
      • Good to Knows
        • Custom Testcases
        • Regenerate Bad Tests
        • The Batching Rule
    • FAQs
      • Paid Plans
      • Code Privacy
      • Support
    • IDE Assist
      • Commands
      • Code Actions
    • Testability Guidelines
Powered by GitBook
On this page
  1. Welltested AI
  2. Unit Tests

Generate Tests

PreviousAnnotationNextSave Tests

IDE Assist: Trigger via the IDE command

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

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.

The Batching Rule
Generate Unit Tests