BDD cucumber postman

Hi All,

I was evaluating a way to implement BDD in postman.

I have gone through article http://blog.getpostman.com/2015/09/29/writing-a-behaviour-driven-api-testing-environment-within-postman/.

But i want to abstract feature file from actual assertions. I am aware cucumber gives a way to have a separate feature file. Can it be done in Postman?

Structure i am looking for:

  1. Feature file -> Has all my business scenarios in separate file.

  2. Step Definition --> Collection/request which just glue feature file with assertions.

  3. Assertions -> Assertions collection/request that does verification and passes the result back to feature file.

Thanks.

4 Likes

I think this can be achieved by using cucumber-js Will need to do some plumbing work to get it working. :nerd_face:

1 Like

This is exactly what I’ve been looking for right now. Has anyone tried using cucumber.js with postman?

1 Like