Minor doc and comment corrections (#644)

Этот коммит содержится в:
John Lonergan 2024-10-05 02:40:42 +01:00 коммит произвёл GitHub
родитель 6e4f452389
коммит 1e7c45eb78
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 4 добавлений и 11 удалений

Просмотреть файл

@ -11,6 +11,6 @@ The example in this directory shows how the godog API is used to add attachments
You must use the '-v' flag or you will not see the cucumber JSON output.
go test -v atttachment_test.go
go test -v attachments_test.go

Просмотреть файл

@ -1,15 +1,8 @@
package attachments_test
// This example shows how to set up test suite runner with Go subtests and godog command line parameters.
// Sample commands:
// * run all scenarios from default directory (features): go test -test.run "^TestFeatures/"
// * run all scenarios and list subtest names: go test -test.v -test.run "^TestFeatures/"
// * run all scenarios from one feature file: go test -test.v -godog.paths features/nodogs.feature -test.run "^TestFeatures/"
// * run all scenarios from multiple feature files: go test -test.v -godog.paths features/nodogs.feature,features/godogs.feature -test.run "^TestFeatures/"
// * run single scenario as a subtest: go test -test.v -test.run "^TestFeatures/Eat_5_out_of_12$"
// * show usage help: go test -godog.help
// * show usage help if there were other test files in directory: go test -godog.help godogs_test.go
// * run scenarios with multiple formatters: go test -test.v -godog.format cucumber:cuc.json,pretty -test.run "^TestFeatures/"
// This example shows how to attach data to the cucumber reports
// Run the sample with : go test -v attachments_test.go
// Then review the "embeddings" within the JSON emitted on the console.
import (
"context"