ExecutorPool Tests #87

Closed
opened 2021-11-23 21:08:25 +00:00 by reynisson · 0 comments
reynisson commented 2021-11-23 21:08:25 +00:00 (Migrated from github.com)

You can find the examples I refer to from the task list under ch.unisg.tapastasks.tasks

Unit tests:

  • Test the adding of executors similar to addNewTaskToTaskListSuccess in TaskListTest
  • Test the successful retrieval of an executor similar to retrieveTaskSuccess in TaskListTest
  • Test the unsuccessful retrieval of an executor similar to retrieveTaskFailure in TaskListTest
  • Test the adding of executors via the AddNewExecutorToExecutorPoolService similar to how AddNewTaskToTaskListServiceTest tests the AddNewTaskToTaskListService. Note: the executor pool does not have a lock like the task list has the TaskListLock. So this does not need to be tested in the executor pool

Integration tests:

  • Test the adding of executors via the AddNewExecutorToExecutorPoolWebController, similar to how AddNewTaskToTaskListWebControllerTest tests the AddNewTaskToTaskListWebController.

System tests:

  • Fully test the adding of executors to the executor pool, similar to how the AddNewTaskToTaskListSystemTest tests the adding of tasks to the task list
You can find the examples I refer to from the task list under ch.unisg.tapastasks.tasks Unit tests: - [x] Test the adding of executors similar to addNewTaskToTaskListSuccess in TaskListTest - [x] Test the successful retrieval of an executor similar to retrieveTaskSuccess in TaskListTest - [x] Test the unsuccessful retrieval of an executor similar to retrieveTaskFailure in TaskListTest - [x] Test the adding of executors via the AddNewExecutorToExecutorPoolService similar to how AddNewTaskToTaskListServiceTest tests the AddNewTaskToTaskListService. Note: the executor pool does not have a lock like the task list has the TaskListLock. So this does not need to be tested in the executor pool Integration tests: - [x] Test the adding of executors via the AddNewExecutorToExecutorPoolWebController, similar to how AddNewTaskToTaskListWebControllerTest tests the AddNewTaskToTaskListWebController. System tests: - [x] Fully test the adding of executors to the executor pool, similar to how the AddNewTaskToTaskListSystemTest tests the adding of tasks to the task list
Sign in to join this conversation.
No description provided.