go-testing-frameworks-comparison

module
v0.0.0-...-d547bec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2021 License: Apache-2.0

README

## Useful Testing Links

https://medium.com/rungo/unit-testing-made-easy-in-go-25077669318

https://building.lang.ai/7-testing-techniques-for-your-golang-codebase-77649a96a1c9

https://www.gojek.io/blog/golang-integration-testing-made-easy



= Go testing frameworks image:https://travis-ci.org/bmuschko/go-testing-frameworks.svg?branch=master["Build Status", link="https://travis-ci.org/bmuschko/go-testing-frameworks"] image:https://goreportcard.com/badge/github.com/bmuschko/go-testing-frameworks["Go Report Card", link="https://goreportcard.com/report/github.com/bmuschko/go-testing-frameworks"] image:https://codecov.io/gh/bmuschko/go-testing-frameworks/branch/master/graph/badge.svg["Codecov", link="https://codecov.io/gh/bmuschko/go-testing-frameworks"]

Demonstrates the use of different testing frameworks for Go code.

[options="header"]
|=======
|Go File                   |Framework                                            |Description
|`calc_standard_test.go`   |https://golang.org/pkg/testing/[testing package]     |Go standard library testing support
|`calc_testify_test.go`    |https://github.com/stretchr/testify[Testify]         |Assertion and mock helpers
|`calc_gocheck_test.go`    |https://labix.org/gocheck[gocheck]                   |Assertion helpers
|`calc_gopwt_test.go`      |https://github.com/ToQoz/gopwt[gopwt]                |Power assertion helpers
|`calc_gotestdeep_test.go` |https://github.com/maxatome/go-testdeep[go-testdeep] |Deep comparison helpers
|`calc_ginkgo_test.go`     |https://github.com/onsi/ginkgo[Ginkgo]               |Heavyweight BDD testing framework + assertion helpers
|`calc_goblin_test.go`     |https://github.com/franela/goblin[Goblin]            |A Mocha like BDD testing framework
|`calc_goconvey_test.go`   |https://github.com/smartystreets/goconvey[GoConvey]  |BDD testing framework with web UI
|=======

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL