unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 30306@debbugs.gnu.org
Subject: [bug#30306] [PATCH 1/5] gnu: Add go-github.com-smartystreets-gunit.
Date: Wed, 31 Jan 2018 14:13:15 +0000	[thread overview]
Message-ID: <20180131141319.14598-1-mail@cbaines.net> (raw)
In-Reply-To: <87shamktrz.fsf@cbaines.net>

* gnu/packages/check.scm (go-github.com-smartystreets-gunit): New variable.
---
 gnu/packages/check.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 564b75f8d..69d5b7a38 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -308,6 +308,36 @@ normally do not detect.  The goal is to detect only real errors in the code
       (home-page "https://github.com/go-check/check")
       (license license:bsd-2))))
 
+(define-public go-github.com-smartystreets-gunit
+  (package
+    (name "go-github.com-smartystreets-gunit")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/smartystreets/gunit")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "00m4zg0kdj49mnpmf9klb44ba71p966xsk6zknrzqgfc8119f35z"))))
+    (build-system go-build-system)
+    (arguments
+     '(;; TODO: This package depends on go-github.com-smartystreets-assertions
+       ;; for running the tests, but go-github.com-smartystreets-assertions
+       ;; depends on this package, so break this loop by not running the tests
+       ;; for this package.
+       #:tests? #f
+       #:import-path "github.com/smartystreets/gunit"))
+    (synopsis "Testing tool for Go, in the style of xUnit")
+    (description
+     "@code{gunit} allows the test author to use a struct as the scope for a
+group of related test cases, in the style of xUnit fixtures.  This makes
+extraction of setup/teardown behavior (as well as invoking the system under
+test) much simpler.")
+    (home-page "https://github.com/smartystreets/gunit")
+    (license license:expat)))
+
 (define-public googletest
   (package
     (name "googletest")
-- 
2.15.1

  reply	other threads:[~2018-01-31 14:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31 14:05 [bug#30306] [PATCH] Fix and improve the mongo-tools package Christopher Baines
2018-01-31 14:13 ` Christopher Baines [this message]
2018-01-31 14:13   ` [bug#30306] [PATCH 2/5] gnu: Add go-github.com-smartystreets-assertions Christopher Baines
2018-01-31 14:13   ` [bug#30306] [PATCH 3/5] gnu: Add go-github.com-jtolds-gls Christopher Baines
2018-01-31 14:13   ` [bug#30306] [PATCH 4/5] gnu: Add go-github.com-smartystreets-goconvey Christopher Baines
2018-01-31 14:13   ` [bug#30306] [PATCH 5/5] gnu: Fix and improve the mongo-tools package Christopher Baines
2018-01-31 22:11 ` [bug#30306] [PATCH] " Leo Famulari
2018-02-01 20:32   ` bug#30306: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180131141319.14598-1-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=30306@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).