WORK IN PROGRESS
vscode vsTest Tools
Discover all tests, Runs specific tests, Inspect result, Debug, Go To Test Definition.
Run tests in Test Explorer
When the extension is enabled it will automatically open the Test Explorer. The discovered test will appear on the windows like on the image below
As you run, write, and rerun your tests, Test Explorer displays the results in default groups of Failed Tests, Passed Tests, Skipped Tests and Not Run Tests.
You can run all the tests in the solution, all the tests in a group, or a set of tests that you select. Do one of the following:
Run tests after every build
You can enable or disable the run test after every build by adding a postBuildTask to your task.json.
Run test progress
Every time a new test starts a progress indicator icon will be presented on the left side of test name.
View test results
As you run, write, and rerun your tests, Test Explorer displays the results in groups of Failed Tests, Passed Tests, Skipped Tests and Not Run Tests. The output pane at the bottom of Test Explorer displays a summary of the test run.
View test details
To view the details of an individual test, select the test, right click and select Show Selected Test Results
The result will be displayed on the output window
View the source code of a test method
To display the source code for a test method in the Visual Studio Code editor you only need to left click the test.
Group and filter the test list
Group and filter is not supported yet.
How To Configure
To setup your enviroment to run .NET test you must add the following configuration to the files settings.json:
So basically, the plugin will look for workSpaceDirectory\output**\outputFileName. All files matching this string will be send to the VSTest
Available framework options:
To run .Net Core Test you must install .Net Core You must install .Net Core
0.0.2 - 2017-08-20