Small API testing project built around a fictional case management service.
The point of this repo is to show a practical API QA setup: status code checks, JSON response validation, negative tests, duplicate handling, date validation, and a basic report endpoint.
- FastAPI demo service
- Pytest API tests
- Test fixtures and data reset between tests
- Positive and negative test cases
- GitHub Actions test workflow
- Health check
- Client creation and search
- Appointment booking
- Double-booking validation
- Report summary validation
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
pytestTo run the demo API manually:
uvicorn app.main:app --reloadThen open:
http://127.0.0.1:8000/docs
This is not a production backend. It is a compact test target for API testing practice and portfolio review.