summaryrefslogtreecommitdiff
path: root/src/test/java/com/stileeducation/markr/controller/TestResultsControllerTest.java
AgeCommit message (Collapse)Author
2024-07-26Remove unused variables and tidy commentsSzymon Szukalski
2024-07-26Add test cases for multiple submissionsSzymon Szukalski
Add test cases which exercise the logic for updating the marks available and marks obtained. Update the service method so that they are transactional and reset the transient 'updated' and 'created' flags after reloading entites to ensure accurate update/create reporting.
2024-07-26Add test not found handling to /aggregate endpointSzymon Szukalski
2024-07-25Inline variable and fix formattingSzymon Szukalski
2024-07-25Validate import payload and return create/update statsSzymon Szukalski
- Add validation to /import payload - Move import logic to service bean - Track whether entities have been created or update - Report number of created and updated entities as return value for the import endpoint - Add some test coverage to exercise the validators
2024-07-25Specify Spring profile for tests and set configuration class contextSzymon Szukalski
2024-07-23Enforce text/xml+marker content type for /import endpointSzymon Szukalski
2024-07-23Remove unused variableSzymon Szukalski
2024-07-23Implement simple /results/:id/aggregate endpoint and testSzymon Szukalski
2024-07-23Implement simple /import endpoint and testSzymon Szukalski