[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42338] [PATCH 34/34] gnu: Add phpunit.
From: |
Julien Lepiller |
Subject: |
[bug#42338] [PATCH 34/34] gnu: Add phpunit. |
Date: |
Mon, 13 Jul 2020 00:25:38 +0200 |
* gnu/packages/php-xyz.scm (php-phpunit-phpunit): New variable.
---
gnu/packages/php-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 0ae92c4600..eebf64c1a3 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -791,3 +791,48 @@ timeout.")
represent the PHP code units.")
(home-page "https://github.com/sebastianbergmann/code-unit")
(license license:bsd-3)))
+
+(define-public php-phpunit-phpunit
+ (package
+ (name "phpunit")
+ (version "9.2.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sebastianbergmann/phpunit.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ck41faxkqr6painsqirklzsl08k8biadi2ksnpsmpjf3dp5p5gl"))))
+ (build-system composer-build-system)
+ (arguments
+ ;; Requires phpspec/prophecy-phpunit, which in turns requires phpunit.
+ `(#:tests? #f))
+ (inputs
+ `(("php-sebastian-version" ,php-sebastian-version)
+ ("php-sebastian-type" ,php-sebastian-type)
+ ("php-sebastian-resource-operations" ,php-sebastian-resource-operations)
+ ("php-sebastian-object-enumerator" ,php-sebastian-object-enumerator)
+ ("php-sebastian-global-state" ,php-sebastian-global-state)
+ ("php-sebastian-exporter" ,php-sebastian-exporter)
+ ("php-sebastian-environment" ,php-sebastian-environment)
+ ("php-sebastian-diff" ,php-sebastian-diff)
+ ("php-sebastian-comparator" ,php-sebastian-comparator)
+ ("php-sebastian-code-unit" ,php-sebastian-code-unit)
+ ("php-phpunit-php-timer" ,php-phpunit-php-timer)
+ ("php-phpunit-php-text-template" ,php-phpunit-php-text-template)
+ ("php-phpunit-php-invoker" ,php-phpunit-php-invoker)
+ ("php-phpunit-php-file-iterator" ,php-phpunit-php-file-iterator)
+ ("php-phpunit-php-code-coverage" ,php-phpunit-php-code-coverage)
+ ("php-phpspec-prophecy" ,php-phpspec-prophecy)
+ ("php-phar-io-version" ,php-phar-io-version)
+ ("php-phar-io-manifest" ,php-phar-io-manifest)
+ ("php-myclabs-deep-copy" ,php-myclabs-deep-copy)
+ ("php-doctrine-instantiator" ,php-doctrine-instantiator)))
+ (properties `((upstream-name . "phpunit/phpunit")))
+ (synopsis "PHP Unit Testing framework")
+ (description "PHPUnit is a testing framework for PHP. It is an instance of
+the xUnit architecture for unit testing frameworks.")
+ (home-page "https://phpunit.de/")
+ (license license:bsd-3)))
--
2.27.0
- [bug#42338] [PATCH 23/34] gnu: Add php-sebastian-environment., (continued)
- [bug#42338] [PATCH 23/34] gnu: Add php-sebastian-environment., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 26/34] gnu: Add php-sebastian-global-state., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 18/34] gnu: Add php-sebastian-version., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 19/34] gnu: Add php-phpunit-php-file-iterator., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 22/34] gnu: Add php-sebastian-comparator., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 28/34] gnu: Add php-sebastian-resource-operations., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 32/34] gnu: Add php-phpunit-php-invoker., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 25/34] gnu: Add php-sebastian-object-reflector., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 30/34] gnu: Add php-phpunit-php-code-coverage., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 27/34] gnu: Add php-sebastian-object-enumerator., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 34/34] gnu: Add phpunit.,
Julien Lepiller <=
- [bug#42338] [PATCH 31/34] gnu: Add php-phpunit-php-timer., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 29/34] gnu: Add php-sebastian-type., Julien Lepiller, 2020/07/12
- [bug#42338] [PATCH 33/34] gnu: Add php-sebastian-code-unit., Julien Lepiller, 2020/07/12