https://github.com/alexalvess/api-coverage-test
A custom task that you can include in your pipeline on Azure DevOps, wich can generate a coverage from the integration test result.
https://github.com/alexalvess/api-coverage-test
azure-devops azure-devops-extension azure-devops-pipelines custom-task integration-test integration-testing junit pipeline swagger test-coverage
Last synced: 7 days ago
JSON representation
A custom task that you can include in your pipeline on Azure DevOps, wich can generate a coverage from the integration test result.
- Host: GitHub
- URL: https://github.com/alexalvess/api-coverage-test
- Owner: alexalvess
- Created: 2020-11-11T10:08:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-13T13:09:38.000Z (over 3 years ago)
- Last Synced: 2025-03-28T15:21:32.676Z (25 days ago)
- Topics: azure-devops, azure-devops-extension, azure-devops-pipelines, custom-task, integration-test, integration-testing, junit, pipeline, swagger, test-coverage
- Language: TypeScript
- Homepage:
- Size: 2.43 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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---
## Look the all documentation:
- Wiki: https://github.com/alexalvess/api-coverage-test/wiki---
## We are online 🚀!
See this extension in [Visual Studio Market Place](https://marketplace.visualstudio.com/items?itemName=AlexAlves.task-702d7430-c3a9-422a-87f2-569ed16ba6be)## About ℹ:
This custom task was developed by [Alex Alves](https://www.linkedin.com/in/alexalvess/) and encouraged by [XP Inc.](https://www.xpi.com.br/)