Testing the Project
Run the project tests by executing the following command:
python manage.py test test
This command will test the entire project.
Testing Specific Test Files
To test a specific test file or module, specify the path to the test:
python manage.py test test.file_name
Examples:
# Test a specific test file
python manage.py test test.test_models
# Test a specific test class
python manage.py test test.test_models.MyModelTestCase
# Test a specific test method
python manage.py test test.test_models.MyModelTestCase.test_specific_function