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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage API Integration Test for Azure DevOps Pipelines

A custom task that you can include in your pipeline on Azure DevOps.

CI/CD:

Workflow Status

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:


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.

About

A custom task that you can include in your pipeline on Azure DevOps, wich can generate a coverage from the integration test result.


Languages

Language:TypeScript 100.0%