Test Runner for Java
A lightweight extension to run and debug Java test cases in Visual Studio Code. The extension support following test frameworks:
The Test Runner for Java works with Language Support for Java by Red Hat and Debugger for Java to provide the following features:
Run/Debug Test Cases
Customize Test Configurations
View Test Result
VS Code Embedded Commands for Testing
There are other VS Code embedded commands for testing, which can be found by searching
VS Code Embedded Settings for Testing
There are some other VS Code embedded settings for testing, which can be found by searching
Please refer to Getting Started from the JUnit 5's official document for getting started documentation.
Please refer to Download and Install from the JUnit 4's official document for the getting started documentation.
Please refer to TestNG Docs from the TestNG's official document for getting started documentation.
If you meet any problem when using the extension, please refer to the FAQ and our issue list to check if there is an answer to your problem.
Contributing and Feedback
If you are interested in providing feedback or contributing directly to the code base, please check the document Contributing to Test Runner for Java, which covers the following parts:
This extension is licensed under MIT License.
This extension collects telemetry data to help improve our products. Please read Microsoft privacy statement to learn more. If you opt out to send telemetry data to Microsoft, please set below configuration in settings.json: