You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can't count on the current coverage of the tests, currently, it's not enough. We have to improve it because, without that, the deployment is harder.
Activity
matrixise commentedon Nov 21, 2025
Here's a proposed approach to improve test coverage:
1. Measure current coverage
pip install coverage coverage run pythonie/manage.py test pythonie --settings=pythonie.settings.tests coverage report --show-missing2. Priority by app
updatemeetupscommand, API sync3. Types of tests to add
Models (unit tests)
Wagtail pages (using
WagtailPageTestCase)Management commands
Views/URLs
4. Recommended structure
5. Use FactoryBoy (related to #81)
Adding
factory-boywould help both test coverage and sample data generation:If someone wants to pick this up and create a branch, contributions are welcome!