Unit test framework for PHP 5.

from & ok alek@
This commit is contained in:
mbalmer 2005-03-02 13:53:44 +00:00
parent e752951e6e
commit 6ae297a377
4 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/03/02 13:53:44 mbalmer Exp $
COMMENT= "regression testing framework for PHP 5"
DISTNAME= PHPUnit2-2.1.6
PKGNAME= pear-${DISTNAME}
CATEGORIES= devel pear
MASTER_SITES= http://pear.php.net/get/
EXTRACT_SUFX= .tgz
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
MODULES= www/php5/pear
RUN_DEPENDS= ::benchmarks/pear-Benchmark
# PHP License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
REGRESS_DEPENDS=${RUN_DEPENDS}
do-regress: fake
@cd ${WRKSRC} && ${PEAR_PHPBIN} \
-d include_path="${WRKINST}${PEAR_LIBDIR}:${PEAR_LIBDIR}" \
Tests/AllTests.php
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (PHPUnit2-2.1.6.tgz) = e6a99c41191bc77f5e16d079beda50fb
RMD160 (PHPUnit2-2.1.6.tgz) = 7b280721c5639fc24d7a134a9455a11fe9bb9bb8
SHA1 (PHPUnit2-2.1.6.tgz) = 73085830b55f36221f4c0911b82935bd72ee2ad5
SIZE (PHPUnit2-2.1.6.tgz) = 35136

View File

@ -0,0 +1,3 @@
PHPUnit is a regression testing framework used for implementing the
unit tests in the PHP source. It is based upon JUnit, which can
be found at http://www.junit.org/

View File

@ -0,0 +1,100 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/03/02 13:53:44 mbalmer Exp $
lib/
lib/php/
pear/lib/.registry/phpunit2.reg
pear/lib/PHPUnit2/
pear/lib/PHPUnit2/Extensions/
pear/lib/PHPUnit2/Extensions/CodeCoverage/
pear/lib/PHPUnit2/Extensions/CodeCoverage/Renderer/
pear/lib/PHPUnit2/Extensions/CodeCoverage/Renderer.php
pear/lib/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php
pear/lib/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php
pear/lib/PHPUnit2/Extensions/ExceptionTestCase.php
pear/lib/PHPUnit2/Extensions/Log/
pear/lib/PHPUnit2/Extensions/Log/PEAR.php
pear/lib/PHPUnit2/Extensions/Log/XML.php
pear/lib/PHPUnit2/Extensions/PerformanceTestCase.php
pear/lib/PHPUnit2/Extensions/RepeatedTest.php
pear/lib/PHPUnit2/Extensions/TestDecorator.php
pear/lib/PHPUnit2/Extensions/TestDox/
pear/lib/PHPUnit2/Extensions/TestDox/NamePrettifier.php
pear/lib/PHPUnit2/Extensions/TestDox/ResultPrinter/
pear/lib/PHPUnit2/Extensions/TestDox/ResultPrinter.php
pear/lib/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php
pear/lib/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php
pear/lib/PHPUnit2/Extensions/TestSetup.php
pear/lib/PHPUnit2/Framework/
pear/lib/PHPUnit2/Framework/Assert.php
pear/lib/PHPUnit2/Framework/AssertionFailedError.php
pear/lib/PHPUnit2/Framework/ComparisonFailure.php
pear/lib/PHPUnit2/Framework/IncompleteTest.php
pear/lib/PHPUnit2/Framework/IncompleteTestError.php
pear/lib/PHPUnit2/Framework/Test.php
pear/lib/PHPUnit2/Framework/TestCase.php
pear/lib/PHPUnit2/Framework/TestFailure.php
pear/lib/PHPUnit2/Framework/TestListener.php
pear/lib/PHPUnit2/Framework/TestResult.php
pear/lib/PHPUnit2/Framework/TestSuite.php
pear/lib/PHPUnit2/Framework/Warning.php
pear/lib/PHPUnit2/Runner/
pear/lib/PHPUnit2/Runner/BaseTestRunner.php
pear/lib/PHPUnit2/Runner/IncludePathTestCollector.php
pear/lib/PHPUnit2/Runner/StandardTestSuiteLoader.php
pear/lib/PHPUnit2/Runner/TestCollector.php
pear/lib/PHPUnit2/Runner/TestRunListener.php
pear/lib/PHPUnit2/Runner/TestSuiteLoader.php
pear/lib/PHPUnit2/Runner/Version.php
pear/lib/PHPUnit2/Tests/
pear/lib/PHPUnit2/Tests/AllTests.php
pear/lib/PHPUnit2/Tests/DoubleTestCase.php
pear/lib/PHPUnit2/Tests/Error.php
pear/lib/PHPUnit2/Tests/Extensions/
pear/lib/PHPUnit2/Tests/Extensions/AllTests.php
pear/lib/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php
pear/lib/PHPUnit2/Tests/Extensions/ExtensionTest.php
pear/lib/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php
pear/lib/PHPUnit2/Tests/Extensions/RepeatedTestTest.php
pear/lib/PHPUnit2/Tests/Extensions/TestDox/
pear/lib/PHPUnit2/Tests/Extensions/TestDox/AllTests.php
pear/lib/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php
pear/lib/PHPUnit2/Tests/Failure.php
pear/lib/PHPUnit2/Tests/Framework/
pear/lib/PHPUnit2/Tests/Framework/AllTests.php
pear/lib/PHPUnit2/Tests/Framework/AssertTest.php
pear/lib/PHPUnit2/Tests/Framework/ComparisonFailureTest.php
pear/lib/PHPUnit2/Tests/Framework/SuiteTest.php
pear/lib/PHPUnit2/Tests/Framework/TestCaseTest.php
pear/lib/PHPUnit2/Tests/Framework/TestImplementorTest.php
pear/lib/PHPUnit2/Tests/Framework/TestListenerTest.php
pear/lib/PHPUnit2/Tests/InheritedTestCase.php
pear/lib/PHPUnit2/Tests/MockRunner.php
pear/lib/PHPUnit2/Tests/NoArgTestCaseTest.php
pear/lib/PHPUnit2/Tests/NoTestCaseClass.php
pear/lib/PHPUnit2/Tests/NoTestCases.php
pear/lib/PHPUnit2/Tests/NonStatic.php
pear/lib/PHPUnit2/Tests/NotPublicTestCase.php
pear/lib/PHPUnit2/Tests/NotVoidTestCase.php
pear/lib/PHPUnit2/Tests/OneTestCase.php
pear/lib/PHPUnit2/Tests/OverrideTestCase.php
pear/lib/PHPUnit2/Tests/Runner/
pear/lib/PHPUnit2/Tests/Runner/AllTests.php
pear/lib/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php
pear/lib/PHPUnit2/Tests/SetupFailure.php
pear/lib/PHPUnit2/Tests/Sleep.php
pear/lib/PHPUnit2/Tests/Success.php
pear/lib/PHPUnit2/Tests/TearDownFailure.php
pear/lib/PHPUnit2/Tests/ThrowExceptionTestCase.php
pear/lib/PHPUnit2/Tests/ThrowNoExceptionTestCase.php
pear/lib/PHPUnit2/Tests/TornDown.php
pear/lib/PHPUnit2/Tests/TornDown2.php
pear/lib/PHPUnit2/Tests/TornDown3.php
pear/lib/PHPUnit2/Tests/TornDown4.php
pear/lib/PHPUnit2/Tests/TornDown5.php
pear/lib/PHPUnit2/Tests/WasRun.php
pear/lib/PHPUnit2/TextUI/
pear/lib/PHPUnit2/TextUI/ResultPrinter.php
pear/lib/PHPUnit2/TextUI/TestRunner.php
pear/lib/PHPUnit2/Util/
pear/lib/PHPUnit2/Util/Filter.php
pear/lib/PHPUnit2/Util/Printer.php
pear/lib/PHPUnit2/Util/Skeleton.php