{"id":13473022,"url":"https://github.com/smartystreets/goconvey","last_synced_at":"2025-05-06T02:08:36.932Z","repository":{"id":10176128,"uuid":"12261520","full_name":"smartystreets/goconvey","owner":"smartystreets","description":"Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.","archived":false,"fork":false,"pushed_at":"2024-07-30T12:11:32.000Z","size":4011,"stargazers_count":8350,"open_issues_count":168,"forks_count":556,"subscribers_count":159,"default_branch":"master","last_synced_at":"2025-05-06T02:08:31.038Z","etag":null,"topics":["bdd-framework","go","goconvey","tdd-utilities","testing-tools"],"latest_commit_sha":null,"homepage":"http://smartystreets.github.io/goconvey/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartystreets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-08-21T04:52:28.000Z","updated_at":"2025-05-02T07:59:32.000Z","dependencies_parsed_at":"2023-01-13T15:47:03.057Z","dependency_job_id":"4eb4bf7b-0177-4c89-8de4-ae8720d33324","html_url":"https://github.com/smartystreets/goconvey","commit_stats":{"total_commits":979,"total_committers":101,"mean_commits":9.693069306930694,"dds":0.4044943820224719,"last_synced_commit":"a50310f1e3e53e63e2d23eb904f853aa388a5988"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartystreets%2Fgoconvey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartystreets%2Fgoconvey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartystreets%2Fgoconvey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartystreets%2Fgoconvey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartystreets","download_url":"https://codeload.github.com/smartystreets/goconvey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252607037,"owners_count":21775415,"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":["bdd-framework","go","goconvey","tdd-utilities","testing-tools"],"created_at":"2024-07-31T16:01:00.019Z","updated_at":"2025-05-06T02:08:36.883Z","avatar_url":"https://github.com/smartystreets.png","language":"Go","readme":"# SMARTY DISCLAIMER: Subject to the terms of the associated license agreement, this software is freely available for your use. This software is FREE, AS IN PUPPIES, and is a gift. Enjoy your new responsibility. This means that while we may consider enhancement requests, we may or may not choose to entertain requests at our sole and absolute discretion.\n\nGoConvey is awesome Go testing\n==============================\n\n[![Build Status](https://app.travis-ci.com/smartystreets/goconvey.svg?branch=master)](https://app.travis-ci.com/smartystreets/goconvey)\n[![GoDoc](https://godoc.org/github.com/smartystreets/goconvey?status.svg)](http://godoc.org/github.com/smartystreets/goconvey)\n\n\nWelcome to GoConvey, a yummy Go testing tool for gophers. Works with `go test`. Use it in the terminal or browser according to your viewing pleasure.\n\nGoConvey supports the current versions of Go (see the official Go\n[release policy](https://golang.org/doc/devel/release#policy)). Currently\nthis means Go 1.16 and Go 1.17 are supported.\n\n**Features:**\n\n- Directly integrates with `go test`\n- Fully-automatic web UI (works with native Go tests, too)\n- Huge suite of regression tests\n- Shows test coverage\n- Readable, colorized console output (understandable by any manager, IT or not)\n- Test code generator\n- Desktop notifications (optional)\n- Immediately open problem lines in [Sublime Text](http://www.sublimetext.com) ([some assembly required](https://github.com/asuth/subl-handler))\n\n\nYou can ask questions about how to use GoConvey on [StackOverflow](http://stackoverflow.com/questions/ask?tags=goconvey,go\u0026title=GoConvey%3A%20). Use the tags `go` and `goconvey`.\n\n**Menu:**\n\n- [Installation](#installation)\n- [Quick start](#quick-start)\n- [Documentation](#documentation)\n- [Screenshots](#screenshots)\n- [Contributors](#contributors)\n\n\n\n\nInstallation\n------------\n\n\t$ go install github.com/smartystreets/goconvey\n\n[Quick start](https://github.com/smartystreets/goconvey/wiki#get-going-in-25-seconds)\n-----------\n\nMake a test, for example:\n\n```go\npackage package_name\n\nimport (\n    \"testing\"\n    . \"github.com/smartystreets/goconvey/convey\"\n)\n\nfunc TestSpec(t *testing.T) {\n\n\t// Only pass t into top-level Convey calls\n\tConvey(\"Given some integer with a starting value\", t, func() {\n\t\tx := 1\n\n\t\tConvey(\"When the integer is incremented\", func() {\n\t\t\tx++\n\n\t\t\tConvey(\"The value should be greater by one\", func() {\n\t\t\t\tSo(x, ShouldEqual, 2)\n\t\t\t})\n\t\t})\n\t})\n}\n```\n\n\n#### [In the browser](https://github.com/smartystreets/goconvey/wiki/Web-UI)\n\nStart up the GoConvey web server at your project's path:\n\n\t$ $GOPATH/bin/goconvey\n\nThen watch the test results display in your browser at:\n\n\thttp://localhost:8080\n\n\nIf the browser doesn't open automatically, please click [http://localhost:8080](http://localhost:8080) to open manually.\n\nThere you have it.\n![](http://d79i1fxsrar4t.cloudfront.net/goconvey.co/gc-1-dark.png)\nAs long as GoConvey is running, test results will automatically update in your browser window.\n\n![](http://d79i1fxsrar4t.cloudfront.net/goconvey.co/gc-5-dark.png)\nThe design is responsive, so you can squish the browser real tight if you need to put it beside your code.\n\n\nThe [web UI](https://github.com/smartystreets/goconvey/wiki/Web-UI) supports traditional Go tests, so use it even if you're not using GoConvey tests.\n\n\n\n#### [In the terminal](https://github.com/smartystreets/goconvey/wiki/Execution)\n\nJust do what you do best:\n\n    $ go test\n\nOr if you want the output to include the story:\n\n    $ go test -v\n\n\n[Documentation](https://github.com/smartystreets/goconvey/wiki)\n-----------\n\nCheck out the\n\n- [GoConvey wiki](https://github.com/smartystreets/goconvey/wiki),\n- [![GoDoc](https://godoc.org/github.com/smartystreets/goconvey?status.png)](http://godoc.org/github.com/smartystreets/goconvey)\n- and the *_test.go files scattered throughout this project.\n\nContributors\n----------------------\n\nGoConvey is brought to you by [SmartyStreets](https://github.com/smartystreets) and [several contributors](https://github.com/smartystreets/goconvey/graphs/contributors) (Thanks!).\n","funding_links":[],"categories":["开源类库","Test","Misc","Go","Open source library","Testing","Libraries and Frameworks","Testing Tools by Language","Tools","Repositories"],"sub_categories":["测试","Test","Testing Frameworks","GO","Go"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartystreets%2Fgoconvey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartystreets%2Fgoconvey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartystreets%2Fgoconvey/lists"}