bounswe / bounswe2022group4

6 stars 3 forks source link

Backend: Create Tests for the image annotations #553

Closed MercerFrey closed 1 year ago

MercerFrey commented 1 year ago

Description:

Tests are essential in the software development lifecycle. We need to create tests for the image annotation endpoints.

Steps:

1) Create a test for ImageAnnotationAPIView. It has only one endpoint GET. We can check the status code and the content of the response. 2) Create a test for PostImageAnnotationAPIView. It has two endpoints GET and POST. We can check the status codes and the content of the responses.

Deadline: 25.12.2022 23.59

MercerFrey commented 1 year ago

These tests are created. Closing.