Skip to content

Conversation

cmarchena
Copy link
Contributor

  • Add pytest, pytest-flask, and pytest-cov to requirements.txt
  • Create tests/ directory with proper package structure
  • Implement conftest.py with Flask app and database fixtures using in-memory SQLite
  • Add pytest.ini for test discovery and configuration
  • Create test_api.py with health endpoint tests
  • Create test_models.py with Goal.to_dict() method tests
  • Update README.md with testing documentation and instructions
  • Add .gitignore for Python cache files and test artifacts
  • Fix deprecation warnings in test code by using datetime.now(UTC) instead of deprecated datetime.utcnow()

All tests pass successfully with 4/4 tests passing. Framework ready for CI/CD integration and future test expansion.

- Add pytest, pytest-flask, and pytest-cov to requirements.txt
- Create tests/ directory with proper package structure
- Implement conftest.py with Flask app and database fixtures using in-memory SQLite
- Add pytest.ini for test discovery and configuration
- Create test_api.py with health endpoint tests
- Create test_models.py with Goal.to_dict() method tests
- Update README.md with testing documentation and instructions
- Add .gitignore for Python cache files and test artifacts
- Fix deprecation warnings in test code by using datetime.now(UTC) instead of deprecated datetime.utcnow()

All tests pass successfully with 4/4 tests passing. Framework ready for CI/CD integration and future test expansion.
- Merged latest changes from main branch
- Resolved .gitignore conflicts by combining Python and pytest ignores
- README.md already properly merged with Quick Start and Testing sections
- All review comments addressed and conflicts resolved
@cmarchena
Copy link
Contributor Author

Hi @ChiragAJain this PR should be possible to merge

Copy link
Owner

@ChiragAJain ChiragAJain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good 👍. Thank you for your contributions to this repository.

@ChiragAJain ChiragAJain merged commit 0fd0b90 into ChiragAJain:main Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants