Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test Visual Studio Team Services (vsts) extension without uploading

i want to develop a vsts extension.

the describes process of a development cycle is:

  1. develop
  2. package
  3. publish
  4. upload
  5. test

this sound a litte cumbersome to me as it takes a lot of time to test the development.

is there any way to speed up a development cycle?

is there any way to mock a TFS?

like image 559
Daniel Avatar asked Jul 15 '17 08:07

Daniel


People also ask

What is the VSTs extension?

This extension allows the Tester to perform the Test Steps even if disconnected from Visual Studio Team Services (VSTS). It can be done using the exported Excel Spreadsheet. Sometimes the need for execute test cases without connection to the Visual Studio Team Services (VSTS).

What is Visual Studio team services (VSTs)?

Here, we will focus on Microsoft VSTS. Microsoft Visual Studio Team Services (VSTS) is a new cloud-based offering that helps the project teams to take care of all the aspects of the process for software development. Visual Studio Team Services (VSTS) is an online hosted service from Microsoft.

How do I run samples on Visual Studio team services?

Most samples can be run without any modifications on Visual Studio Team Services. The steps are: Create a Visual Studio Marketplace publisher (all extensions are uploaded under a publisher)

How do I execute test cases without VSTs?

Sometimes the need for execute test cases without connection to the Visual Studio Team Services (VSTS). This extension lets you export your planed test cases to an excel file. With the Excel file, you can mark test cases as passed or failed in an offline environment, and the use the tool to import the outcome back to the test plan.


1 Answers

To speed up development, you can set the baseURI property in your extensions manifest to localhost.

You need to deploy your "localhost-extension" only once, because it allways refers to the instance running on your machine locally.

The whole procedure is desribed in the following blog-post: https://realalm.com/2016/03/11/debugging-your-vsts-extension/

like image 191
Christoph Prinz Avatar answered Nov 11 '22 09:11

Christoph Prinz