unit-testing #19
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "calm-steam/GameServerSupervisor:unit-testing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
each feature branch should work on the unit tests of the files it touches.
I recommend writing the test of the functionality before implementing the feature (TDD).
tests for existing functionality should be written retroactively.
tests in django follow this scheme: https://docs.djangoproject.com/en/5.1/topics/testing/overview/
to note:
I recommend to organize unit tests by:
src/module/class
src/module/test_class
mirroring the project structure can lead to problems when restructuring the project.
keeping them in a separate directory makes it inconvenient to develop.
to consider:
HOW TO TEST
./manage.py test