-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
The project currently has no automated tests or CI/CD. Add a comprehensive test suite and GitHub Actions workflow to ensure code quality.
What to Add
1. Unit Tests
- Test open_application() function
- Test time/date formatting
- Test command parsing in execute_command()
- Mock speech recognition and TTS for testing
2. GitHub Actions Workflow
- Run tests on pull requests
- Check Python code style (black, flake8)
- Test on multiple Python versions (3.8, 3.9, 3.10, 3.11)
- Add test coverage reporting
3. Testing Framework
- Use pytest for testing
- Use unittest.mock to mock speech/TTS
- Add pytest-cov for coverage reports
Files to Create
- tests/test_jarvis.py
- tests/test_commands.py
- .github/workflows/ci.yml
- Update requirements.txt with test dependencies
Benefits
- Catch bugs before they reach main
- Ensure PRs don't break existing functionality
- Improve code quality
- Build contributor confidence
Priority
High
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers