freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
100 stars 25 forks source link

Tests #85

Open garrettr opened 7 years ago

garrettr commented 7 years ago

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:

kshitij10496 commented 6 years ago

@garrettr I'd like to develop the unit testing suite for the Django apps. I can work on a prototype over the weekend.

conorsch commented 6 years ago

@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.

kshitij10496 commented 6 years ago

Thanks @conorsch for the advice. I will open up a PR with some tests for review.