Skip to content

Deliverable 2 Report

Fulin Huang edited this page Mar 18, 2019 · 6 revisions

Deliverable 2 Report

Heroku App Address:

Link Here

Key Design Decisions :

1. Implemented all use cases by building Restful Web Service with Spring using Controllers and DTOs:

  • Created and implemented a cooperator controller package which contains 4 classes: CoopTermController, EmployerController, EventController, StudentController.
  • Created and implemented a cooperator DTO package which contains 4 classes: CoopTermDto, EmployerDto, EventDto, StudentDto.

2. Test the Web Services by Postman.

3. To test the backend services, using Junit framework, developed a test suite for unit testing where each unit test is supposed to be expected in isolation.

  • Created 4 test classes: CooperatorApplicationTests; CoopTermControllerTests; EmployerControllerTests; EventControllertests; StudentControllerTests. Recorded and reported the test coverage for each unit test class in the end.

4. Three integration tests are implemented for RESTful service:

  • CooperatorControllerIntegrationTest; EmployerControllerIntegrationTest; EventControllerIntegrationTest.
Clone this wiki locally