From 1b7175555e30ae666405f8cfa9c96287239edc4c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 19 Oct 2023 02:29:03 +0100 Subject: gnu: go-github-com-jacobsa-ogletest: Move to (gnu packages golang-check). * gnu/packages/golang-check.scm (go-github-com-jacobsa-ogletest): Move from here... * gnu/packages/golang.scm: ... to here. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang-check.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/golang-check.scm') diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index fe442bdb8b..f904e8b02c 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -122,6 +122,42 @@ Test for C++ and Google JS Test.") "Package oglemock provides a mocking framework for unit tests.") (license license:asl2.0)))) +(define-public go-github-com-jacobsa-ogletest + (let ((commit "80d50a735a1108a2aeb7abc4a988d183f20c5292") + (revision "0")) + (package + (name "go-github-com-jacobsa-ogletest") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jacobsa/ogletest") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lbwbxzr75g65q07ry5k4kglxqs3ym7xkvqznzm55rm3qk76v83r")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jacobsa/ogletest" + ;; These tests should be made working + #:tests? #f)) + (native-inputs + (list go-github-com-jacobsa-oglematchers + go-github-com-jacobsa-oglemock + go-github-com-jacobsa-reqtrace + go-golang-org-x-net)) + (home-page "https://github.com/jacobsa/ogletest") + (synopsis "Expressive unit tests") + (description + "Package ogletest provides a framework for writing expressive unit tests. It +integrates with the builtin testing package, so it works with the gotest +command. Unlike the testing package which offers only basic capabilities for +signalling failures, it offers ways to express expectations and get nice failure +messages automatically.") + (license license:asl2.0)))) + (define-public go-github-com-stretchr-testify (package (name "go-github-com-stretchr-testify") -- cgit v1.2.3