Finsing the GradeControllerTestt
Required Actions
- Initial test data using @BeforeEach.
- Simulate a valid POST request to /grades/addGrade with test data for student_id, module_code, and score.
- Test scenarios for invalid or missing student_id, module_code, or score.
Excpected Delivrables
- A fully implemented and functional test class GradeControllerTest.
- Validations confirming that grades are added accurately under various scenarios.
Edited by Uluturk Tolga (2022) ZLAC170