Skip to content

This repository contains example how to execute postman collection tests using gradle (newman npm package). Add functionality to collect all html reports into single one

Notifications You must be signed in to change notification settings

daggerok/gradle-postman-example

Repository files navigation

Run postman tests using Gradle Build Status

This repository contains example how to execute postman collection tests using gradle (newman node package)

  1. src/test/json - add postman collection with tests

  2. package.json - add test task test:n

  3. run gradle build to test and build single html report

  4. open in browser build/postman/index.html

unix
./gradlew

npm i /g serve
serve build/postman

./gradlew dependencyUpdates -Drevision=release
windows
gradlew

npm i /g serve
serve build/postman

gradlew dependencyUpdates -Drevision=release

links: