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.