Last active
September 12, 2019 13:35
-
-
Save safebear/ad48825dbd58cdc9584ec7c1c01bd44f to your computer and use it in GitHub Desktop.
azure pipeline with newman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- task: NodeTool@0 | |
displayName: 'Run API Tests' | |
inputs: | |
versionSpec: '8.x' | |
- script: npm install newman -g | |
displayName: 'Install newman' | |
- script: newman run "$(System.DefaultWorkingDirectory)\ToolsList.AcceptanceTests\New Tool.postman_collection.json" -e "$(System.DefaultWorkingDirectory)\ToolsList.AcceptanceTests\ToolsList.postman_environment.json" | |
displayName: 'Run postman script' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment