evrone/evrone-django-template

Discussion about testing

Closed this issue · 1 comments

Let's discuss improvements and changes related to testing.
If you have any tool, package, config, or script to share, feel free to suggest it into this discussion.

Hey there!
What do you think about pytest-randomly? This tool is useful against flaky tests (randomly failing tests)?

Also, there are de-facto standard test data generators - factory-boy and faker. They are suitable for dealing with model-based test objects and random data. Static test data is not recommended because it covers only 1 case while random data might spotlight corner cases.