mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Add coverage project-level config file.
This commit is contained in:
parent
370145bb21
commit
5a455b320f
3
{{cookiecutter.repo_name}}/.coveragerc
Normal file
3
{{cookiecutter.repo_name}}/.coveragerc
Normal file
|
@ -0,0 +1,3 @@
|
|||
[run]
|
||||
include = {{cookiecutter.repo_name}}/*
|
||||
omit = ../*migrations*
|
|
@ -93,7 +93,7 @@ Test coverage
|
|||
To run the tests, check your test coverage, and generate an HTML coverage report::
|
||||
|
||||
$ coverage run manage.py test
|
||||
$ coverage html --include={{ cookiecutter.repo_name }}/*
|
||||
$ coverage html
|
||||
|
||||
Live reloading and Sass CSS compilation
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
Loading…
Reference in New Issue
Block a user