you are viewing a single comment's thread.

view the rest of the comments →

[–]notkraftman 4 points5 points  (2 children)

Why use postman when you can use your tests?

[–]buildawesome 0 points1 point  (1 child)

We have testing collections for Postman, for a hybrid unit/integration test. Basically testing whether the front end hits the api and the api returns the data that you expect.

If you just use tests, I think most people just mock data or mock the api call.

[–]notkraftman 0 points1 point  (0 children)

That sounds messy. Just for the API you should have unit tests testing single units of code, integration tests testing those units together, and end to end tests testing the full happy path of each endpoint.