All Projects → gotestyourself → Gotest.tools

gotestyourself / Gotest.tools

Licence: other
A collection of packages to augment the go testing package and support common patterns.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gotest.tools

rust-claim
Assertion macros toolkit for Rust
Stars: ✭ 53 (-74.15%)
Mutual labels:  assertions, assert
Check Types.js
MOVED TO GITLAB
Stars: ✭ 232 (+13.17%)
Mutual labels:  assertions, assert
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
Strikt
An assertion library for Kotlin
Stars: ✭ 310 (+51.22%)
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
Gopwt
PowerAssert library for golang
Stars: ✭ 137 (-33.17%)
Mutual labels:  assert
Swaggerassertions
Assert your API requests and responses match with your swagger definition
Stars: ✭ 137 (-33.17%)
Mutual labels:  assertions
Zunit
A powerful testing framework for ZSH projects
Stars: ✭ 140 (-31.71%)
Mutual labels:  assertions
Checkmate
Fast and versatile argument checks
Stars: ✭ 174 (-15.12%)
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
Catch Exception
Stars: ✭ 137 (-33.17%)
Mutual labels:  assertions
K9
Rust testing library
Stars: ✭ 194 (-5.37%)
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.

GoDoc CircleCI Go Reportcard

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

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].