Closed ssh51117 closed 7 months ago
The changes made in AppStack.test.ts
verify the existence of the 3 user endpoints (POST, GET, DELETE), while the .test.ts
files in serverless/packages/functions/src/user/tests
validate the endpoint logic & responses from the individual endpoints. In the future, the same testing structure can be applied to newly created endpoints.
Issues
13 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
1.7% Duplication on New Code
# Updating User Table Endpoints and adding Unit Tests Added create, get, and delete for UserTable in Dynamodb. Also added unit tests for all commands Github Issue Number Here: <#1124> What user problem are we solving? There are no endpoints to hit the new UserTable in dynamodb What solution does this PR provide? Created the endpoints for all the commands. Also, created unit tests checking that the status codes returned are correct given certain responses from the table Testing Methodology