2016-09-10 21:47:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2016/09/10 19:47:19 bsiegert Exp $
|
Added go-check version 1
The check package builds on the standard testing library from Go to offer
a richer testing framework for libraries and applications to use.
gocheck includes features such as:
* Helpful error reporting to aid on figuring problems out (see below)
* 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 (helpful to debug hanging
tests, for instance)
* Multi-line string reporting for more comprehensible failures
* Inclusion of comments surrounding checks on failure reports
* Fully tested (it manages to test itself reliably)
2016-01-17 00:56:23 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= go-check-1
|
2016-09-10 21:47:19 +02:00
|
|
|
PKGREVISION= 3
|
Added go-check version 1
The check package builds on the standard testing library from Go to offer
a richer testing framework for libraries and applications to use.
gocheck includes features such as:
* Helpful error reporting to aid on figuring problems out (see below)
* 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 (helpful to debug hanging
tests, for instance)
* Multi-line string reporting for more comprehensible failures
* Inclusion of comments surrounding checks on failure reports
* Fully tested (it manages to test itself reliably)
2016-01-17 00:56:23 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=go-check/}
|
|
|
|
GITHUB_PROJECT= check
|
|
|
|
GITHUB_TAG= 4f90aea
|
|
|
|
|
|
|
|
MAINTAINER= rillig@NetBSD.org
|
|
|
|
HOMEPAGE= http://labix.org/gocheck
|
|
|
|
COMMENT= Rich testing for the Go language
|
|
|
|
LICENSE= 2-clause-bsd
|
|
|
|
|
|
|
|
GO_SRCPATH= gopkg.in/check.v1
|
|
|
|
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
|
|
|
|
|
|
|
|
.include "../../lang/go/go-package.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|