If you're interested in contributing to the initiative to increase our percentage, you should familiarize yourself with django and pytest test writing.
Additional information on testing Django with pytest:
factory-boy http://factoryboy.readthedocs.io/en/latest/)Please break up your test coverage pull requests by app/file when possible.
If you intend on writing test coverage for dashboard/views.py, you could:
dashboard/tests/ directory.__init__.py file to dashboard/teststest_views.pydashboard/tests/factories.py file to define the factories to be used.Completed in #102: The goal of this discussion is to build consensus around an approach to backend/django testing.
We'll want to make use of the Django testing suite and probably implement further testing functionality via:
pytestFollowing successful implementation of a base testing suite, I assume we will want to automate test builds and coverage testing with something like:
Feel free to disagree with any of the above suggestions, they are merely to get a discussion going.
this is enough of an organizational priority i am happy to throw some bounty money at it once we have specced it
travis \m/
@mbeacom if you need help in setting this up, I'm here. (Never done it before, so expect annoying pings if you agree to this )
do we still need this live now that codecov/ travis are integrated? might be a good oppy to change issue title to 'increase test coverage'
@mbeacom do we still need this issue?
Most helpful comment
this is enough of an organizational priority i am happy to throw some bounty money at it once we have specced it