Welltested Docs
v2.x.x
v2.x.x
  • Documentation
    • 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
      • Using with FVM
    • Testability Guidelines
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Unit Tests
  3. Good to Knows

Regenerate Bad Tests

If you're not satisfied with a generated test, you may regenerate it. Follow the steps:

  1. Delete the corresponding test file.

  2. Run welltested generate unit

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

PreviousCustom TestcasesNextThe Batching Rule

Last updated 1 year ago

Was this helpful?