You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/GSteps.md
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,55 @@ GSTEPS("Calc*") {
176
176
SCENARIO="test/Features/Calc/addition.feature" ./test --gtest_filter="Calc Addition.Add two numbers"
177
177
```
178
178
179
+
##### Cucumber.json output
180
+
181
+
GSteps also supports the output of Cucumber.json files
182
+
enable this by setting the following environment variables:
183
+
184
+
```sh
185
+
OUTPUT_CUCUMBER_JSON=<your output location>
186
+
TEST_NAME=<your test name>
187
+
```
188
+
the OUTPUT_CUCUMBER_JSON variable can be set in the CMakePreset.json file.
189
+
and the test name will be automatically set by the test runner if you define the tests using the `test()` function in the CMakeLists.txt file and use the ctest command to run your tests.
0 commit comments