Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Built tests are not added to the Visual Studio Test Explorer window

Tags:

  1. I set up the SpecFlow plug-in for the Visual Studio 2013.
  2. I created new Feature Item and build it.

Result: built test is not shown in the Test Explorer. Why?

I do it according to this video

like image 323
Vlad Kostyukevich Avatar asked Jun 01 '15 12:06

Vlad Kostyukevich


People also ask

How do I add a test to test Explorer Visual Studio?

If Test Explorer is not visible, choose Test on the Visual Studio menu, choose Windows, and then choose Test Explorer (or press Ctrl + E, T). As you run, write, and rerun your tests, the Test Explorer displays the results in a default grouping of Project, Namespace, and Class.

How do I enable test in Visual Studio?

To enable Live Unit Testing, select Test > Live Unit Testing > Start from the top-level Visual Studio menu.

How do I add test options in Visual Studio 2019?

Visual Studio 2019 version 16.3 and earlier To specify a run settings file in the IDE, select Test > Select Settings File. Browse to and select the . runsettings file. The file appears on the Test menu, and you can select or deselect it.


1 Answers

in order to configure it to generate MSTest tests you need to add this to your app.config:

<specFlow>       <unitTestProvider name="MSTest"></unitTestProvider> </specFlow> 
like image 179
Sam Holder Avatar answered Nov 08 '22 21:11

Sam Holder