vscode extension to view protostar tests in the Test Explorer.
This extension uses vscode native Test API
Minimum protostar version required:
Install or upgrade protostar using the command below:
For this extension to work properly, you need to create a dedicated profile named
Here is an example of the corresponding section in
you can test your setup by running the following command:
Launch VS Code Quick Open (
Click on the Test icon , you should see the list of protostar tests.
Then interact with your tests as any other Test extension.
Test results will be displayed in the test output console.
This extension detects Protostar projects using the
Here are the steps for local deployment:
You should now see a second VS Code window, the Extension Development Host. Open a folder in this window and click the "Test" icon in the Activity bar. Now you should see your test suite in the side panel:
Unit tests are using
To check code coverage, run:
To check code formatting, run:
You can also format your code by using the following command:
Protostar Test Explorer is released under MIT.