Thank you for considering contributing to the Visual Studio Code extension for Artillery!
Please note that this guide act as an extension of the global Contributors guide for Artillery. We highly recommend you read those first as they describe things like forking a repository, raising discussions, tracking issues, and following our Git workflow.
Once you forked this repository, open it in Visual Studio Code and press F5 (Fn + F5, depending on your keyboard preferences). This will do two things:
- Run the compiler to watch for source code changes;
- Launch the Extension host where you can preview the extension live while developing.
You can also refresh the Extension host at any time by pressing CMD + R/CTRL + R while the Extension host window is focused.
- Press CMD + SHIFT + D to open a debug viewlet.
- Choose "Extension Test" option from the launch configuration dropdown.
- Press F5 to run the tests.
You can observe the test output in the debug console.