Improve testing and development experience
- Add “make test” command to lint, test and report coverage - Add pytest runner - It automatically set up to use the correct Django settings module - Runs tests on all the available CPU, I was able to run all the test in total=~30sec using “make test” command. - It provides a cleaner error report, compared to DjangoTestRunner - Coverage - Displayed the report on the terminal after the test finish - Disable reporting of coverage for test and migration files - Enable coverage reporting for the template files - “make test” generates HTML reports to quickly check the coverage of each file
Showing
- .circleci/config.yml 3 additions, 4 deletions.circleci/config.yml
- .gitignore 3 additions, 1 deletion.gitignore
- .nvmrc 1 addition, 0 deletions.nvmrc
- Makefile 8 additions, 2 deletionsMakefile
- hypha/settings/test.py 3 additions, 0 deletionshypha/settings/test.py
- requirements-dev.txt 10 additions, 5 deletionsrequirements-dev.txt
- setup.cfg 25 additions, 1 deletionsetup.cfg
.nvmrc
0 → 100644
Please register or sign in to comment