Spaces:
Sleeping
Sleeping
| # Authentication System Tests | |
| This folder contains all tests for the Chatty application's authentication system. | |
| ## Quick Start | |
| Run all tests: | |
| ```bash | |
| python Test/run_tests.py | |
| ``` | |
| ## Test Files | |
| - **`test_auth_unit.py`** - Unit tests for individual components (51 tests) | |
| - **`test_auth_simple.py`** - Integration tests for user flows (17 tests) | |
| - **`test_auth_integration.py`** - Complex integration tests (for reference) | |
| - **`run_tests.py`** - Test runner with reporting | |
| - **`test_requirements.txt`** - Testing dependencies | |
| - **`TEST_SUMMARY.md`** - Comprehensive test documentation | |
| ## Test Coverage | |
| β **68 tests total** - 100% success rate | |
| β **All authentication requirements covered** | |
| β **Unit and integration testing** | |
| β **Error handling and edge cases** | |
| β **Security validation** | |
| ## Running Specific Tests | |
| ```bash | |
| # Run specific test class | |
| python Test/run_tests.py TestUserModel | |
| # Run individual test files | |
| python -m unittest Test.test_auth_unit -v | |
| python -m unittest Test.test_auth_simple -v | |
| ``` | |
| For detailed information, see `TEST_SUMMARY.md`. |