Coverage API Integration Test for Azure DevOps Pipelines
A custom task that you can include in your pipeline on Azure DevOps.
CI/CD:
Install
$ git clone https://github.com/alexalvess/api-coverage-test.git
$ cd api-coverage-test
$ npm install --prefix ./buildAndReleaseTask package.json
$ npm install -g json
$ npm install -g tfx-cli
Build for Debug
$ npm run build --prefix ./buildAndReleaseTask
$ npm run copyNodeModules --prefix ./buildAndReleaseTask
Build for Production
$ npm run build --prefix ./buildAndReleaseTask
$ npm run changeEnvironment --prefix ./buildAndReleaseTask
$ npm run copyNodeModules --prefix ./buildAndReleaseTask
$ json -I -f ./buildAndReleaseTask/task.json -e "this.version.Patch++"
$ npm run copyTaskToDist --prefix ./buildAndReleaseTask
Run for Debug
$ npm start --prefix ./buildAndReleaseTask
Pack and Publish:
$ tfx extension create --manifest-globs vss-extension.json
And upload the file generate in Visual Studio Market Place
Now, let's see the pipeline execution
Look the all documentation:
We are online 🚀!
See this extension in Visual Studio Market Place
About ℹ:
This custom task was developed by Alex Alves and encouraged by XP Inc.
| |