Phase 4 assessments capture with Unit tests
Closes #54 (closed)
Tasks Done
- Stage 4 assessments capture with notifications showing
- Stage 4 Unit Test
Unit tests
AssessmentsRepository Test Cases
- Throws exception if assesments are done before 180 mins from birth
- Throws exception if assessments are incomplete
- Marks phase-4 as complete if everything is correctly filled
- Adds stage-4 assessments if list is empty
AssessmentsBloc Test Cases
- yields AssessmentsAdded on successful adding of phase 4
- yields AssessmentsError when assessments are incomplete while adding of phase 4 assessments
Edited by Darshpreet Singh