All Projects → smartystreets → Goconvey

smartystreets / Goconvey

Licence: other
Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to Goconvey

kheera-testrunner-android
BDD Framework for Android
Stars: ✭ 18 (-99.74%)
Mutual labels:  testing-tools, bdd-framework
Pytest Testinfra
With Testinfra you can write unit tests in Python to test actual state of your servers configured by management tools like Salt, Ansible, Puppet, Chef and so on.
Stars: ✭ 1,987 (-71.07%)
Mutual labels:  testing-tools, tdd-utilities
bat
Gherkin based DSL for testing HTTP APIs via Cucumber.JS
Stars: ✭ 30 (-99.56%)
Mutual labels:  testing-tools, bdd-framework
cl-spec
BDD for Common Lisp
Stars: ✭ 18 (-99.74%)
Mutual labels:  testing-tools, bdd-framework
Goss
Quick and Easy server testing/validation
Stars: ✭ 4,550 (-33.75%)
Mutual labels:  testing-tools, tdd-utilities
Httptest
Qiniu httptest utilities
Stars: ✭ 571 (-91.69%)
Mutual labels:  testing-tools
Lyrebird
移动应用插件化测试工作台
Stars: ✭ 663 (-90.35%)
Mutual labels:  testing-tools
Vue Testing Library
🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.
Stars: ✭ 567 (-91.74%)
Mutual labels:  testing-tools
Chutzpah
Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha and TypeScript.
Stars: ✭ 549 (-92.01%)
Mutual labels:  testing-tools
Mixer
Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.
Stars: ✭ 743 (-89.18%)
Mutual labels:  testing-tools
Firebase Server
Firebase Realtime Database Server Implementation
Stars: ✭ 673 (-90.2%)
Mutual labels:  testing-tools
Vstest
Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
Stars: ✭ 624 (-90.91%)
Mutual labels:  testing-tools
Haskell Hedgehog
Release with confidence, state-of-the-art property testing for Haskell.
Stars: ✭ 584 (-91.5%)
Mutual labels:  testing-tools
Nose2
The successor to nose, based on unittest2
Stars: ✭ 665 (-90.32%)
Mutual labels:  testing-tools
Gotestsum
'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
Stars: ✭ 570 (-91.7%)
Mutual labels:  testing-tools
Pict
Pairwise Independent Combinatorial Tool
Stars: ✭ 681 (-90.08%)
Mutual labels:  testing-tools
Carina
Carina automation framework: Web, Mobile, API, DB
Stars: ✭ 549 (-92.01%)
Mutual labels:  testing-tools
Sharingan
Sharingan(写轮眼)是一个基于golang的流量录制回放工具,适合项目重构、回归测试等。
Stars: ✭ 617 (-91.02%)
Mutual labels:  testing-tools
Faker
Faker is a pure Elixir library for generating fake data.
Stars: ✭ 673 (-90.2%)
Mutual labels:  testing-tools
Earlgrey
🍵 iOS UI Automation Test Framework
Stars: ✭ 5,353 (-22.06%)
Mutual labels:  testing-tools

GoConvey is awesome Go testing

Build Status GoDoc

Welcome 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. View full feature tour.

GoConvey supports the current versions of Go (see the official Go release policy). Currently this means Go 1.16 and Go 1.17 are supported.

Features:

  • Directly integrates with go test
  • Fully-automatic web UI (works with native Go tests, too)
  • Huge suite of regression tests
  • Shows test coverage
  • Readable, colorized console output (understandable by any manager, IT or not)
  • Test code generator
  • Desktop notifications (optional)
  • Immediately open problem lines in Sublime Text (some assembly required)

You can ask questions about how to use GoConvey on StackOverflow. Use the tags go and goconvey.

Menu:

Installation

$ go get github.com/smartystreets/goconvey

Quick start

Make a test, for example:

package package_name

import (
    "testing"
    . "github.com/smartystreets/goconvey/convey"
)

func TestSpec(t *testing.T) {

	// Only pass t into top-level Convey calls
	Convey("Given some integer with a starting value", t, func() {
		x := 1

		Convey("When the integer is incremented", func() {
			x++

			Convey("The value should be greater by one", func() {
				So(x, ShouldEqual, 2)
			})
		})
	})
}

In the browser

Start up the GoConvey web server at your project's path:

$ $GOPATH/bin/goconvey

Then watch the test results display in your browser at:

http://localhost:8080

If the browser doesn't open automatically, please click http://localhost:8080 to open manually.

There you have it. As long as GoConvey is running, test results will automatically update in your browser window.

The design is responsive, so you can squish the browser real tight if you need to put it beside your code.

The web UI supports traditional Go tests, so use it even if you're not using GoConvey tests.

In the terminal

Just do what you do best:

$ go test

Or if you want the output to include the story:

$ go test -v

Documentation

Check out the

  • GoConvey wiki,
  • GoDoc
  • and the *_test.go files scattered throughout this project.

Screenshots

For web UI and terminal screenshots, check out the full feature tour.

Contributors

GoConvey is brought to you by SmartyStreets and several contributors (Thanks!).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].