Use django_coverage_plugin to check template test coverage.

This commit is contained in:
Audrey Roy Greenfeld 2015-11-11 21:07:16 -08:00
parent a1ec736a9f
commit d1de33fb3e
4 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,10 @@
All enhancements and patches to cookiecutter-django will be documented in this file. All enhancements and patches to cookiecutter-django will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
## [2015-11-11]
### Added
- Added django_coverage_plugin to measure Django template coverage (@audreyr)
## [2015-11-09] ## [2015-11-09]
### Changed ### Changed
- Now using py.test for our test suite!! (@hackebrot) - Now using py.test for our test suite!! (@hackebrot)

View File

@ -1,3 +1,5 @@
[run] [run]
include = {{cookiecutter.repo_name}}/* include = {{cookiecutter.repo_name}}/*
omit = *migrations*, *tests* omit = *migrations*, *tests*
plugins =
django_coverage_plugin

View File

@ -1,6 +1,7 @@
# Local development dependencies go here # Local development dependencies go here
-r base.txt -r base.txt
coverage==4.0.2 coverage==4.0.2
django_coverage_plugin==1.0
Sphinx Sphinx
django-extensions==1.5.9 django-extensions==1.5.9
Werkzeug==0.10.4 Werkzeug==0.10.4

View File

@ -8,6 +8,7 @@ psycopg2==2.6.1
{%- endif %} {%- endif %}
coverage==4.0.2 coverage==4.0.2
django_coverage_plugin==1.0
flake8==2.5.0 flake8==2.5.0
django-test-plus==1.0.9 django-test-plus==1.0.9
factory_boy==2.6.0 factory_boy==2.6.0