Closed app-generator closed 2 years ago
Hey @app-generator
For these tests, I am thinking about testing the forms to make sure these functionalities are working.
What do you think?
Hello @koladev32
The goal is to cover the use case and maximize the code coverage. Please proceed with your proposal.
Ty!
Hey @app-generator
Added some test cases here
Tested with the latest version - No tests are executed:
(env) PS D:\work\repo-samples\sample-django-best-practices> git pull
Already up to date.
(env) PS D:\work\repo-samples\sample-django-best-practices>
(env) PS D:\work\repo-samples\sample-django-best-practices>
(env) PS D:\work\repo-samples\sample-django-best-practices>
(env) PS D:\work\repo-samples\sample-django-best-practices> python manage.py test
System check identified no issues (0 silenced).
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
(env) PS D:\work\repo-samples\sample-django-best-practices>
@koladev32 - any progress here? ty!
Ah yes. Actually, pytest
was used to write the tests. So you need to use the pytest
command instead. Might add it to the README.md.
Cool, please update the README with a small section that mentions the command + executed test suite
ty for your work @koladev32
Hello @koladev32
Please add a minimal test suite for the existing features:
All test data should be deleted at the end of the test suite.
P.S. The tests section should be also mentioned on the README.
Ty!