gotestyourself / Gotest.tools
Licence: other
A collection of packages to augment the go testing package and support common patterns.
Stars: ✭ 205
Labels
Projects that are alternatives of or similar to Gotest.tools
Assert
A collection of convenient assertions for Swift testing
Stars: ✭ 69 (-66.34%)
Mutual labels: assertions, assert
Assertion
The power of Respect\Validation into an assertion library.
Stars: ✭ 23 (-88.78%)
Mutual labels: assertions, assert
Atrium
A multiplatform assertion library for Kotlin
Stars: ✭ 359 (+75.12%)
Mutual labels: assertions, assert
Expect More
Curried Type Testing library, and Test Matchers for Jest
Stars: ✭ 124 (-39.51%)
Mutual labels: assertions, assert
Postman Bdd
A BDD test framework for Postman and Newman
Stars: ✭ 139 (-32.2%)
Mutual labels: assertions
Ppk assert
PPK_ASSERT is a cross platform drop-in & self-contained C++ assertion library
Stars: ✭ 164 (-20%)
Mutual labels: assert
Swaggerassertions
Assert your API requests and responses match with your swagger definition
Stars: ✭ 137 (-33.17%)
Mutual labels: assertions
Go Testdeep
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
Stars: ✭ 137 (-33.17%)
Mutual labels: assertions
Testify
A toolkit with common assertions and mocks that plays nicely with the standard library
Stars: ✭ 14,996 (+7215.12%)
Mutual labels: assertions
Fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, .NET Core 2.1 and 3.0, as well as .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
Stars: ✭ 2,449 (+1094.63%)
Mutual labels: assertions
Assertj Core
AssertJ is a library providing easy to use rich typed assertions
Stars: ✭ 2,085 (+917.07%)
Mutual labels: assertions
Should.js
BDD style assertions for node.js -- test framework agnostic
Stars: ✭ 1,908 (+830.73%)
Mutual labels: assertions
gotest.tools
A collection of packages to augment testing
and support common patterns.
Usage
With Go modules enabled (go1.11+)
$ go get gotest.tools/v3
import "gotest.tools/v3/assert"
To use gotest.tools
with an older version of Go that does not understand Go
module paths pin to version v2.3.0
.
Packages
- assert - compare values and fail the test when a comparison fails
- env - test code which uses environment variables
- fs - create temporary files and compare a filesystem tree to an expected value
- golden - compare large multi-line strings against values frozen in golden files
- icmd - execute binaries and test the output
- poll - test asynchronous code by polling until a desired state is reached
- skip - skip a test and print the source code of the condition used to skip the test
Related
- gotest.tools/gotestsum - go test runner with custom output
- maxbrunsfeld/counterfeiter - generate fakes for interfaces
-
jonboulle/clockwork - a fake clock for testing code that uses
time
Contributing
See CONTRIBUTING.md.
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].