Right now we have Unit tests, Integration UI tests with selenium, and now we need some for our API's that we wrote.
Our backend API endpoints need to be tested. This will require using mockito to mock some of the external API calls to the kabanero instance / GitHub API
Feature design or visual mockup
Test things like making sure the endpoints return the expected HTTP status codes and behave appropriately when given bad data.
For example for /api/tools/toolName, make sure it returns a 404 when give a toolName that is not in the mocked tool data.
A list of classes that need to be tested with this issue:
Feature description
Right now we have Unit tests, Integration UI tests with selenium, and now we need some for our API's that we wrote.
Our backend API endpoints need to be tested. This will require using mockito to mock some of the external API calls to the kabanero instance / GitHub API
Feature design or visual mockup
Test things like making sure the endpoints return the expected HTTP status codes and behave appropriately when given bad data.
For example for /api/tools/toolName, make sure it returns a 404 when give a toolName that is not in the mocked tool data.
A list of classes that need to be tested with this issue: