Description
This utility can be used for automated classification and tagging of test cases in an Azure DevOps project.
Prerequisites
Setup Requirements
Before you start using this extension, make sure you have gathered the following information:
Create test plans in Azure DevOps. Get the Test Plan ID and Test Suite ID
Create an Azure DevOps PAT Token to access the test cases
Create an Azure OpenAI GPT model deployment. Get the OpenAI Account Name and API Key from the Azure Portal
Before you begin, ensure you have the following installed:
The tfx-cli npm package. You can install it with:
npm install -g tfx-cli
The webpack npm package. You can install it with:
npm install -g webpack
The webpack-dev-server npm package. You can install it with:
npm install -g webpack-dev-server
Project Setup
Follow these steps to set up the project:
Install the dependencies:
npm install
Build the project:
npm run build
Update the publisher and version in the vss-extension.json manifest file.
Publish the extension:
tfx extension publish --manifest-globs vss-extension.json --overrides-file configs/dev.json --token <PAT Token>
Please replace <PAT Token> with your Personal Access Token.
Start the development server:
npx webpack-dev-server --mode development
| |