{"id":13413892,"url":"https://github.com/stesla/gospecify","last_synced_at":"2026-01-12T14:28:26.904Z","repository":{"id":730223,"uuid":"379233","full_name":"stesla/gospecify","owner":"stesla","description":"A BDD library for Go","archived":false,"fork":false,"pushed_at":"2011-10-18T02:38:16.000Z","size":287,"stargazers_count":52,"open_issues_count":1,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-25T05:25:01.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stesla.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-11-20T06:34:29.000Z","updated_at":"2024-06-13T21:19:46.000Z","dependencies_parsed_at":"2022-07-18T12:31:43.161Z","dependency_job_id":null,"html_url":"https://github.com/stesla/gospecify","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesla%2Fgospecify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesla%2Fgospecify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesla%2Fgospecify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesla%2Fgospecify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stesla","download_url":"https://codeload.github.com/stesla/gospecify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243641994,"owners_count":20323944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:52.132Z","updated_at":"2026-01-12T14:28:26.876Z","avatar_url":"https://github.com/stesla.png","language":"Go","readme":"# gospecify\n\nThis provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.\n\n## Installation\n\nThe Makefile assumes that you have the environment variables that are typically set for using the Go language (GOROOT, GOARCH, GOOS, and optionally GOBIN). Please refer to the GO installation instructions (http://golang.org/doc/install.html) for more information on properly setting them.\n\nOnce those variables are set you can:\n\n     $ make test\n     $ make install              # This will install the specify script in $HOME/bin\n     $ make install GOBIN=$GOBIN # This will install the specify script in $GOBIN\n\n## Usage\n\nTake a look at src/example_spec.go for a simple example of how to write specifications using gospecify. Just put the code in package main and import your own code in. You can then use the specify command to compile and run your specs.\n\n     $ specify *_spec.go\n\nOr if you need to specify a package path you can do this:\n\n     $ specify -I/path/to/pkg *_spec.go\n\nYou can look at src/Makefile to see how gospecify runs the command to test itself.\n\n## Contributing\n\nContributions are always welcome. Just clone the git repo and hack away. You can submit pull requests or email me patches.\n\n* GitHub: http://github.com/stesla/gospecify\n* Email: samuel.tesla@gmail.com\n\nHappy Testing!\n","funding_links":[],"categories":["Testing","测试","Template Engines","\u003cspan id=\"测试-testing\"\u003e测试 Testing\u003c/span\u003e","测试相关","Testing Frameworks","测试相关`测试库和测试数据集生成库`"],"sub_categories":["Advanced Console UIs","HTTP Clients","HTTP客户端","Testing Frameworks","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","查询语"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstesla%2Fgospecify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstesla%2Fgospecify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstesla%2Fgospecify/lists"}