mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-stretchr-testify.
* gnu/packages/golang.scm (go-github-com-stretchr-testify): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c4230cda09
commit
28380e0e28
1 changed files with 34 additions and 0 deletions
|
@ -1411,3 +1411,37 @@ increment versions.")
|
||||||
(description "This package is a simple exponential backoff counter in
|
(description "This package is a simple exponential backoff counter in
|
||||||
Go.")
|
Go.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
|
(define-public go-github-com-stretchr-testify
|
||||||
|
(let ((commit
|
||||||
|
"b1f989447a57594c728884458a39abf3a73447f7")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "go-github-com-stretchr-testify")
|
||||||
|
(version (git-version "1.1.4" revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/stretchr/testify.git")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0p0gkqzh2p8r5g0rxm885ljl7ghih7h7hx9w562imx5ka0vdgixv"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/stretchr/testify"))
|
||||||
|
(home-page "https://github.com/stretchr/testify")
|
||||||
|
(synopsis "Go helper library for tests and invariant checking")
|
||||||
|
(description "This package provide many tools for testifying that your
|
||||||
|
code will behave as you intend.
|
||||||
|
|
||||||
|
Features include:
|
||||||
|
@itemize
|
||||||
|
@item Easy assertions
|
||||||
|
@item Mocking
|
||||||
|
@item HTTP response trapping
|
||||||
|
@item Testing suite interfaces and functions.
|
||||||
|
@end itemize")
|
||||||
|
(license license:expat))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue