This test adapter runs tests in Node.js. If you need to run tests in browsers you might be interested in theKarma Test Adapter.
Features
All tests get run as soon as a test or source file is saved and the results are shown in the Test Explorer. There is no need to clickRun All in the Test Explorer.
The file and position of each test is registered, so that the Test Explorer in Visual Studio can link to the source code for the test.
Source maps in test files are used to find the position of tests. So if, for example, a test is written in Typescript and the compiled JavaScript file contains a source map the test explorer will link to the typescript file.
The stack trace of a failed test is shown as a list of function names that link to the relevant line and file. As with the position of of tests, source maps are used to link to the original source.
Any output from a test (f.ex. using console.log) will be shown in the test result in the Test Explorer as a link:Output.
Configuration
This adapter is configured using a file JasmineNodeTestAdapter.json. Please seeHome page for details.