Registry / testing / pingcap-check

pingcap-check

JSON →
library0.0.0-20211026125417-57bd13f7b5f0gogounverified

PingCAP Check is a testing library providing custom checkers for Go tests, similar to gocheck.

go get github.com/pingcap/check
INSTALL
IMPORT
SIG · PINGCAP-CHECK
P
pingcap-check
testinggov0.0.0-20211026125417-57bd13f7b5f0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

check
github.com/pingcap/check

Sets up a test suite using PingCAP checkers.

package main import ( "testing" "github.com/pingcap/check" ) func Test(t *testing.T) { check.TestingT(t) } var _ = check.Suite(&MySuite{}) type MySuite struct{} func (s *MySuite) TestExample(c *check.C) { c.Assert(42, check.Equals, 42) }
Debug
Known issues
gotchaThis package is a fork of gocheck; API may differ slightly.
fix
Refer to PingCAP documentation for specific checker usage.
affects: *
Upgrade
Version history
0.0.0-20211026125417-57bd13f7b5f0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pingcap-check — go get pingcap-check · libregistry