Creating a Project¶
Follow the instructions for the respective language below. On getting the message of
Successfully initialized the project, one should be able to run the specifications.
gauge init csharp
gauge init java
gauge init ruby
Refer Project Structure for files that get created for all languages.
Running the specs¶
gauge run specs
The details of the run are displayed on the command line followed by a statistics summary.
Refer Executing tests for more details.
The console report would give you the details of the run
Specifications: (w) executed (x) passed (y) failed (z) skipped Scenarios: (a) executed (b) passed (c) failed (d) skipped
The statistics of the scenarios indicate
||total number of scenarios executed.|
||total number of scenarios passed.|
||total number of scenarios failed.|
||total number of scenarios skipped.|
The statistics of the specifications indicate
||total number specifications executed.|
||total number specifications with all scenarios passed.|
||total number specifications with atleast one scenario failed.|
||total number specifications with all scenarios skipped.|
Check various supported formats for Reports.