Unit testing for doctor, patient and medical camp routes
Description:
Implement unit tests for the API routes related to doctor, patient (family), and medical camp modules to ensure the correctness and reliability of backend functionality.
The testing will cover key endpoints in:
- doctor_routes
- family/patient_routes
- medical_camp_routes
The goal is to validate API behavior under different scenarios, including successful responses, invalid inputs, and edge cases.
Scope of Work:
- Write unit tests using pytest
- Test CRUD operations for all three modules
- Validate response status codes and data
- Handle edge cases and error scenarios
Expected Outcome:
- Improved backend reliability
- Increased test coverage
- Early detection of bugs and regressions
- Stable API behavior for production use