Integration Testing
Integration Tests
Distinction between Unit Tests
Starting instructions
1. Finish Integration test for the /api/v1/users/badMofos endpoint:
Inspect the payload with the following curl command
Use the telnet command and paste in the following commands to your terminal and hit enter.
Use a REST client such as Postman Chrome App or anything else.
2. Finish Integration Test for /api/v1/couch/insertDocument endpoint
Hints to complete the exercise:
Making Rest Call with Curl for Post Request
3. Write an integration test removing the newly created document to /api/v1/couch/deleteDocument/:name
Hints to complete the exercise:
Making Rest Call with Curl for Delete Request
Last updated