Skip to content

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

Notifications You must be signed in to change notification settings

alexalvess/api-coverage-test

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks