Services Blog Français

Automatic test rewrite for django-dbdiff/django-responsediff/cli2

| by jpic | python django best-practice tdd

Still in the competition for most code coverage with least test code that is written manually and needs to be maintained manually, all our test autowriting software has been updated to support a new environment variable : FIXTURE_REWRITE.

Instead of deleting fixtures manually to regenerate them by running the tests, you can now just run your tests with the FIXTURE_REWRITE env var. This will overwrite the fixtures and make the tests look like it passed.

Don’t forget to start adding the changes with git add -p. It’s not because tests are autogenerated that they should not be proof-read before commiting of course.

Releases:

  • cli2 1.0.5
  • django-responsediff 0.7.11
  • django-dbdiff 0.9.4

Have a great day internet ;)

With LOVE

From POITOU CHARENTE

They trust us

Contact

logo