Setup
macOS
JavaScript
VS Code
Modify
Now that you successfully initialized a Gauge project with the JavaScript template, we can look at running a specification using the example specification in the test folder.
A test specification (spec) is a detailed statement of what will be tested. In Gauge, these are written in a .spec file. To learn more about how specifications work you can look at the overview section.
Open the example spec. The Gauge specification file is present under /specs/example.spec
Run your Gauge specs in VS Code by choosing the option to Run Spec
You’ll get immediate feedback in the output about what got executed.
Now that you have successfully run a Gauge specification, you can go ahead and view the report from VS code.