Better Practices

For individual engineers to the largest teams, Better Practices is intended to distill knowledge from the Postman community. This is a place to learn about modern software practices together! Read more: https://medium.com/better-practices/introducing-better-practices-e9cf14cf0c88

From manual to automated testing: The roadblocks and the journey

Kaustav Das Modak
Better Practices
Published in
8 min readSep 5, 2018

--

Goals — Short term: Automation. Longer term: More Automation. Idea courtesy Kunal Nagpal.

Manual is not (always) productive

Is there any way I can be more productive if I use other features of your tool?

The divide

Postman Collections are reusable test suites

Stages of adding requests in a collection to build a reusable test suite

Looking at existing collections

The Postman API Network is used to publish your API’s collections publicly.
The Imgur API documentation includes a “Run in Postman” button.
Auth0’s API documentation page where they talk about testing Auth0 APIs with Postman

Run collections anywhere

Collections can be run from the Postman app, in the Postman cloud or using the newman commandline tool

Running locally

Running in CI

Exporting a Collection to JSON
Exporting an environment to JSON
Run the collection on commandline with newman with the right environment

Automate, even before you start developing

Collaborate. Better.

--

--

Better Practices
Better Practices

Published in Better Practices

For individual engineers to the largest teams, Better Practices is intended to distill knowledge from the Postman community. This is a place to learn about modern software practices together! Read more: https://medium.com/better-practices/introducing-better-practices-e9cf14cf0c88

Kaustav Das Modak
Kaustav Das Modak

Responses (2)