May 2019
Beginner to intermediate
456 pages
10h 37m
English
At this point, we have created the vss-extension.json, initialized NPM and installed the dependencies using package.json, and also created an HTML page to host the initialization code for our extension.
In this step, we will write the code to read the acceptance criteria written in Gherkin format, parse the text, and finally create the test cases:
/// <reference types="vss-web-extension-sdk" />import { WorkItemFormService } from "TFS/WorkItemTracking/Services";import * as TestClient from "TFS/TestManagement/RestClient";import * as WitClient from "TFS/WorkItemTracking/RestClient";//code is trimmed for the sake of brevityexport class GenerateTestCase ...Read now
Unlock full access