[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/22: gnu: Add java-jmock-1.

From: Ricardo Wurmus
Subject: 21/22: gnu: Add java-jmock-1.
Date: Wed, 10 May 2017 11:59:41 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit f12ad6c768bc74cbe335bccae5761a5067d68130
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Mar 3 16:13:36 2017 +0100

    gnu: Add java-jmock-1.
    * gnu/packages/java.scm (java-jmock-1): New variable.
 gnu/packages/java.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 88d7c02..ba5632b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1447,6 +1447,42 @@ constructor on object instantiation.")
 mock objects in unit testing.")
     (license license:asl2.0)))
+(define-public java-jmock-1
+  (package
+    (name "java-jmock")
+    (version "1.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "";
+                                  "jmock-library/archive/" version ".tar.gz"))
+              (file-name (string-append "jmock-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0xmrlhq0fszldkbv281k9463mv496143vvmqwpxp62yzjvdkx9w0"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:build-target "jars"
+       #:test-target "run.tests"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install (install-jars "build")))))
+    (home-page "";)
+    (synopsis "Mock object library for test-driven development")
+    (description "JMock is a library that supports test-driven development of
+Java code with mock objects.  Mock objects help you design and test the
+interactions between the objects in your programs.
+The jMock library
address@hidden makes it quick and easy to define mock objects
address@hidden lets you precisely specify the interactions between
+  your objects, reducing the brittleness of your tests
address@hidden plugs into your favourite test framework
address@hidden is easy to extend.
address@hidden itemize\n")
+    (license license:bsd-3)))
 (define-public java-jopt-simple
     (name "java-jopt-simple")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]