How to test:
Run pytest comman, or the script make test in the main directory and check that all tests are passing.
Run make cov and check that browser opens with test reports.
Description of your solution:
Libs pytest-cov, pytest, pytest-sugar, and pytest-django were installed.
.coveragerc, and pytest.ini files were created.
A sample test is introduced.
Makefile scripts for test and coverage reported are included.
Link to task: Issue https://github.com/labcodes/django-react-webpack/issues/38
How to test: Run
pytest
comman, or the scriptmake test
in the main directory and check that all tests are passing. Runmake cov
and check that browser opens with test reports.Description of your solution:
pytest-cov
,pytest
,pytest-sugar
, andpytest-django
were installed..coveragerc
, andpytest.ini
files were created.Makefile
scripts for test and coverage reported are included.README.md
is updated with testing instructions.