{"id":51521,"library":"cucumber-godog","title":"Godog","description":"Package godog is the official Cucumber BDD framework for Golang, it merges specification and test documentation into one cohesive whole.","status":"active","version":"0.15.1","language":"go","source_language":null,"source_url":"https://github.com/cucumber/godog","tags":["bdd","testing","cucumber","specification"],"install":[{"cmd":"go get github.com/cucumber/godog","lang":"bash","label":"Install github.com/cucumber/godog"}],"dependencies":[],"imports":[{"symbol":"godog","correct":"github.com/cucumber/godog"}],"quickstart":{"code":"package main\n\nimport (\n\t\"testing\"\n\t\"github.com/cucumber/godog\"\n)\n\nfunc TestFeatures(t *testing.T) {\n\tsuite := godog.TestSuite{\n\t\tScenarioInitializer: func(ctx *godog.ScenarioContext) {\n\t\t\tctx.Step(`^I have (\\d+) cucumbers$`, func(count int) {})\n\t\t},\n\t\tOptions: &godog.Options{\n\t\t\tFormat: \"pretty\",\n\t\t\tPaths:  []string{\"features\"},\n\t\t},\n\t}\n\tif suite.Run() != 0 {\n\t\tt.Fatal(\"non-zero status returned, failed\")\n\t}\n}","lang":"go","description":"Minimal test suite using godog"},"warnings":[],"env_vars":null,"search_vec":"'bdd':8,22 'cohes':20 'cucumb':7,24 'document':17 'framework':9 'godog':1,3 'golang':11 'merg':13 'offici':6 'one':19 'packag':2 'specif':14,25 'test':16,23 'whole':21","created_at":"2026-06-15T06:18:15.215707+00:00","updated_at":"2026-06-15T06:18:15.215707+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cucumber/godog","github":"https://github.com/cucumber/godog","docs":"https://pkg.go.dev/github.com/cucumber/godog#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}