[pkg-go] Bug#905076: ITP: golang-github-nbio-st -- st - Simple Test micro-framework for Go
Clement Hermann
nodens at nodens.org
Tue Jul 31 04:24:36 BST 2018
Package: wnpp
Severity: wishlist
Owner: Clement Hermann <nodens at nodens.org>
* Package name : golang-github-nbio-st
Version : 0.0~git20140626.e9e8d98-1
Upstream Author : nb.io
* URL : https://github.com/nbio/st
* License : Apache-2.0
Programming Lang: Go
Description : st - Simple Test micro-framework for Go
st is a tiny test framework for making short, useful assertions in your
Go tests:
- Assert(t, have, want) and Refute(t, have, want) abort a test immediately
with t.Fatal.
- Expect(t, have, want) and Reject(t, have, want) allow a test to continue,
reporting failure at the end with t.Error.
.
They print nice error messages, preserving the order of have (actual
result) before want (expected result) to minimize confusion.
This is a dependency of LXD 3 (ITP: #768973) and will be maintained under the
Go team umbrella.
More information about the Pkg-go-maintainers
mailing list