Search results
You can automatically discover tests in your project, run and debug your tests, and get test coverage results. In this article, you'll learn how to get started with testing in VS Code, discover popular testing extensions, and explore the testing capabilities.
- Testing
Python tests are Python classes that reside in separate...
- Testing Extensions
The VS Code team publishes a command-line tool to run...
- Test Explorer UI
Test Explorer for Visual Studio Code. This extension...
- Testing
Python tests are Python classes that reside in separate files from the code being tested. Each test framework specifies the structure and naming of tests and test files. Once you write tests and enable a test framework, VS Code locates those tests and provides you with various commands to run and debug them.
Inline display of test results for your code. Inspect, run, debug your tests, and navigate to the tests right from the code editor.
Testowanie w programie Visual Studio jest niezwykle proste dzięki interfejsowi użytkownika, obciążeniom, testom jednostkowym, narzędziu IntelliTest i nie tylko. Dowiedz się więcej o testowaniu i pobieraniu bezpłatnie już dziś.
The VS Code team publishes a command-line tool to run extension tests. You can find an example in the extensions sample repo. The test CLI provides quick setup, and also allows you to easily run and debug tests of the VS Code UI using the Extension Test Runner. The CLI exclusively uses Mocha under the hood.
Explore documentation to help you use Visual Studio to test your code, including overviews, getting started tutorials, and how-to guides.
Test Explorer for Visual Studio Code. This extension provides an extensible user interface for running your tests in VS Code. It can be used with any testing framework if there is a corresponding Test Adapter extension. Other extensions can get full access to the Test Adapters by acting as Test Controllers.