-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Description
The project lacks automated testing. Adding unit tests will improve code reliability and make future contributions safer.
What needs to be done:
- Set up pytest framework
- Create
tests/directory - Write unit tests for:
setup_database()log_attempt()extract_message()wifi_login()(with mocked requests)view_logs()
- Add mock responses for HTTP requests
- Create test database separate from production
- Add GitHub Actions workflow for automated testing
- Update README with testing instructions
Expected outcome:
Comprehensive test coverage with CI/CD integration.
Open for discussions! Questions about testing strategies are welcome!