WORK IN PROGRESSvscode vsTest ToolsSectionsList of Features Quick DemoDiscover all tests, Runs specific tests, Inspect result, Debug, Go To Test Definition. FeaturesRun tests in Test ExplorerWhen 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. Run testsYou 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 buildYou can enable or disable the run test after every build by adding a postBuildTask to your task.json. Run test progressEvery time a new test starts a progress indicator icon will be presented on the left side of test name. View test resultsAs 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 detailsTo 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 methodTo 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 listGroup and filter is not supported yet. How To ConfigureTo setup your enviroment to run .NET test you must add the following configuration to the files settings.json:
Tip: Check the sample project for configuration help. Configurable options:
So basically, the plugin will look for workSpaceDirectory\output**\outputFileName. All files matching this string will be send to the VSTest Available framework options:
RequirementsTo run .Net Core Test you must install .Net Core You must install .Net Core Known IssuesAlpha Release Release Notes0.0.2 - 2017-08-20
|