Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/gradle-postman-example
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
https://github.com/daggerok/gradle-postman-example
gradle moowok newman node node-js nodejs postman postman-apps postman-collection postman-example postman-test test test-automation test-driven-development test-framework test-runner testing testing-framework testing-tools tests
Last synced: 24 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/daggerok/gradle-postman-example
- Owner: daggerok
- Created: 2017-10-11T06:17:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T22:32:12.000Z (about 6 years ago)
- Last Synced: 2024-11-11T15:39:50.552Z (3 months ago)
- Topics: gradle, moowok, newman, node, node-js, nodejs, postman, postman-apps, postman-collection, postman-example, postman-test, test, test-automation, test-driven-development, test-framework, test-runner, testing, testing-framework, testing-tools, tests
- Language: HTML
- Homepage:
- Size: 216 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Run postman tests using Gradle image:https://travis-ci.org/daggerok/gradle-postman-example.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/gradle-postman-example"]
This repository contains example how to execute postman collection tests using gradle (newman node package)
. `src/test/json` - add postman collection with tests
. `package.json` - add test task test:n
. run `gradle build` to test and build single html report
. open in browser `build/postman/index.html`.unix
----
./gradlewnpm i /g serve
serve build/postman./gradlew dependencyUpdates -Drevision=release
----.windows
----
gradlewnpm i /g serve
serve build/postmangradlew dependencyUpdates -Drevision=release
----links:
. link:https://www.getpostman.com/docs/postman/collection_runs/command_line_integration_with_newman[Reference]
. link:https://github.com/postmanlabs/newman[newman npm package (postman runner)]
. link:https://github.com/srs/gradle-node-plugin/blob/master/docs/node.md[gradle node plugin]