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: _examples/attachments/attachments_test.go
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,8 @@
1
1
package attachments_test
2
2
3
-
// This example shows how to set up test suite runner with Go subtests and godog command line parameters.
4
-
// Sample commands:
5
-
// * run all scenarios from default directory (features): go test -test.run "^TestFeatures/"
6
-
// * run all scenarios and list subtest names: go test -test.v -test.run "^TestFeatures/"
7
-
// * run all scenarios from one feature file: go test -test.v -godog.paths features/nodogs.feature -test.run "^TestFeatures/"
8
-
// * run all scenarios from multiple feature files: go test -test.v -godog.paths features/nodogs.feature,features/godogs.feature -test.run "^TestFeatures/"
9
-
// * run single scenario as a subtest: go test -test.v -test.run "^TestFeatures/Eat_5_out_of_12$"
10
-
// * show usage help: go test -godog.help
11
-
// * show usage help if there were other test files in directory: go test -godog.help godogs_test.go
12
-
// * run scenarios with multiple formatters: go test -test.v -godog.format cucumber:cuc.json,pretty -test.run "^TestFeatures/"
3
+
// This example shows how to attach data to the cucumber reports
4
+
// Run the sample with : go test -v attachments_test.go
5
+
// Then review the "embeddings" within the JSON emitted on the console.
0 commit comments