5. Run a Test and View Test Results

Applies to TestLeft 15.0, last modified on October 14, 2021

To run your BDD test, you must use one of the available runners. In this tutorial, we will use the MSTest unit test provider, but you can use any other. To run an MSTest test in Visual Studio, do the following:

  1. If the Test Explorer panel is hidden, select Test > Windows > Test Explorer from the main menu.

  2. Right-click the created test and select Run Selected Test:

    SpecFlow test with TestLeft: Running test

The Test Explorer panel shows the test log. It contains the results of the SpecFlow test:

SpecFlow test with TestLeft: Test result
s

TestLeft creates a more detailed test log that contains information on all the simulated user actions. To learn more, see Working With TestLeft Test Logs.

Prev     Next

See Also

Behavior-Driven Development
About Behavior-Driven Development

Highlight search results