gocheck works as an extension to the testing package and to the "go test" runner. That allows keeping all current tests and using gocheck-based tests right away for new tests without conflicts. The gocheck API was purposefully made similar to the testing package for a smooth migration. gocheck includes features such as: * helpful error reporting to aid on figuring problems out * richer test helpers: assertions which interrupt the test immediately, deep multi-type comparisons, string matching, etc * suite-based grouping of tests * fixtures: per suite and/or per test set up and tear down * benchmarks integrated in the suite logic (with fixtures, etc) * management of temporary directories * panic-catching logic, with proper error reporting * proper counting of successes, failures, panics, missed tests, skips, etc * explicit test skipping * support for expected failures * verbosity flag which disables output caching * multi-line string reporting for more comprehensible failures * inclusion of comments surrounding checks on failure reports
23 lines
496 B
Makefile
23 lines
496 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2015/06/19 08:42:54 czarkoff Exp $
|
|
|
|
COMMENT = testing library for the Go language
|
|
DISTNAME = go-check-v1-20150611
|
|
CATEGORIES = devel
|
|
HOMEPAGE = http://labix.org/gocheck
|
|
|
|
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@gmail.com>
|
|
|
|
# 2-clause BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
GH_ACCOUNT = go-check
|
|
GH_PROJECT = check
|
|
GH_COMMIT = 8d49746f13e4c654088c52685541fcf4cbc8fa59
|
|
|
|
MODULES = lang/go
|
|
MODGO_TYPE = lib
|
|
|
|
ALL_TARGET = gopkg.in/check.v1
|
|
|
|
.include <bsd.port.mk>
|