securethenews
securethenews copied to clipboard
Tests
The goal of the initial development phase of Secure the News was to get something released as quickly as possible, and as a result we sadly neglected writing comprehensive tests for most of the code.
Inspired by Obey the Testing Goat, I'd like to write some or all of the following tests for Secure the News:
- Functional tests for the whole site
- Unit tests for our Django apps: blog, home, pledges, and sites
- Unit tests for the frontend Javascript:
client/src/javascript
@garrettr I'd like to develop the unit testing suite for the Django apps. I can work on a prototype over the weekend.
@kshitij10496 More app tests would be great! Add them to the app folders in typical Django fashion, and CI will run them automatically via ./manage.py test --noinput --keepdb
in the Molecule "CI" scenario.
Thanks @conorsch for the advice. I will open up a PR with some tests for review.