{"id":51916,"library":"sclevine-spec","title":"Spec","description":"A simple testing framework for Go with BDD-style syntax.","status":"active","version":"1.4.0","language":"go","source_language":null,"source_url":"https://github.com/sclevine/spec","tags":["testing","bdd","framework"],"install":[{"cmd":"go get github.com/sclevine/spec","lang":"bash","label":"Install github.com/sclevine/spec"}],"dependencies":[],"imports":[{"symbol":"spec","correct":"github.com/sclevine/spec"}],"quickstart":{"code":"package main\n\nimport (\n\t\"testing\"\n\t\"github.com/sclevine/spec\"\n\t\"github.com/sclevine/spec/report\"\n)\n\nfunc TestMyFeature(t *testing.T) {\n\tsuite := spec.New(\"my feature\", spec.Report(report.Terminal{}))\n\tsuite(\"should work\", func(t *testing.T) {\n\t\t// test code\n\t})\n\tsuite.Run(t)\n}","lang":"go","description":"Define and run a BDD test suite."},"warnings":[],"env_vars":null,"search_vec":"'bdd':10,14 'bdd-style':9 'framework':5,15 'go':7 'simpl':3 'spec':1 'style':11 'syntax':12 'test':4,13","created_at":"2026-06-15T06:34:39.293081+00:00","updated_at":"2026-06-15T06:34:39.293081+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/sclevine/spec","github":"https://github.com/sclevine/spec","docs":"https://pkg.go.dev/github.com/sclevine/spec#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}}