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
  3. Good to Knows

Regenerate Bad Tests

In case, you're not satisfied with a generated test for a method, you can ask for a regeneration of it.

Follow the steps:

  1. Delete the corresponding file of the test.

  2. Run the generation dart run welltested:ai build

💡: If you've multiple bad tests with same mistakes, you can fix one of them and save it back to the system. Then regenerate the others again and the mistake will be automatically fixed.

PreviousCustom TestcasesNextThe Batching Rule