[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/12: gnu: Add perl-test-object.
From: |
guix-commits |
Subject: |
02/12: gnu: Add perl-test-object. |
Date: |
Sun, 14 Jun 2020 06:41:49 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit e72b40af3ea4403d07aa80b93edc790e07074762
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jun 14 11:17:42 2020 +0200
gnu: Add perl-test-object.
* gnu/packages/perl-check.scm (perl-test-object): New variable.
---
gnu/packages/perl-check.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index ccd9279..ac80edc 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
+;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1065,6 +1066,34 @@ usually called epsilon. This module provides such a
function for use with
@code{Test::More}.")
(license asl2.0)))
+(define-public perl-test-object
+ (package
+ (name "perl-test-object")
+ (version "0.08")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "Test-Object-" version ".tar.gz"))
+ (sha256
+ (base32 "1fyhn558kvla37fb60fzdr6kd2kfcxcmpr8884zk2dvq2ij8j9v5"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/Test-Object")
+ (synopsis "Thoroughly testing objects via registered handlers")
+ (description
+ "In situations where you have deep trees of classes,
+there is a common situation in which you test a module 4 or 5 subclasses down,
+which should follow the correct behaviour of not just the subclass, but of all
+the parent classes.
+
+This should be done to ensure that the implementation of a subclass has not
+somehow ``broken'' the object's behaviour in a more general sense.
+
+Test::Object is a testing package designed to allow you to easily test what
+you believe is a valid object against the expected behaviour of all of the
+classes in its inheritance tree in one single call.")
+ (license perl-license)))
+
(define-public perl-test-output
(package
(name "perl-test-output")
- branch master updated (8331e23 -> f810d69), guix-commits, 2020/06/14
- 03/12: gnu: Add perl-test-subcalls., guix-commits, 2020/06/14
- 01/12: gnu: Add perl-hook-lexwrap., guix-commits, 2020/06/14
- 04/12: gnu: Add perl-data-section-simple., guix-commits, 2020/06/14
- 05/12: gnu: Add perl-tie-simple., guix-commits, 2020/06/14
- 06/12: gnu: Add perl-text-haml., guix-commits, 2020/06/14
- 09/12: gnu: Add perl-ppi., guix-commits, 2020/06/14
- 10/12: gnu: Add perl-locale-maketext-lexicon., guix-commits, 2020/06/14
- 02/12: gnu: Add perl-test-object.,
guix-commits <=
- 12/12: gnu: Use ‘license:’ prefix in (gnu packages perl)., guix-commits, 2020/06/14
- 07/12: gnu: Add perl-lingua-en-sentence., guix-commits, 2020/06/14
- 08/12: gnu: Add perl-compress-bzip2., guix-commits, 2020/06/14
- 11/12: gnu: Add perl-text-patch., guix-commits, 2020/06/14