PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Testing » PHPUnit2

Regression testing framework for unit tests.

This package is unmaintained.

Download latest release 2.3.6 (archived versions might be outdated)

License: BSD License

Description

PHPUnit is a regression testing framework used by the developer who implements unit tests in PHP. This is the version to be used with PHP 5.

Documentation

Manual

Maintainers

No maintainers.

Dependencies

No dependencies.

Releases

Bugs

IDStatusTypeVersionDateSummary
#2185ClosedBug2004-08-21Method suite does not exist (phpunit2/php 5.0.1)
#2403ClosedBug2004-09-27invoke() in BaseTestRunner.php must have at least one parameter
#2448ClosedReq2004-10-04Add ability to override TestSuiteLoader
#2460ClosedBug2004-10-05assertContains should return message on line 2
#2472ClosedReq2004-10-06ExceptionTestCase Fixture
#2830BogusBug2004-11-25Suspicious Looking Code
#2948BogusBug2004-12-11Bus Error reported when running PHPUnit2
#3050ClosedBug2004-12-29assertNotNull and assertNull reference undefined variable "$expected"
#3402ClosedBug2005-02-08Class 'PHPUnit2_Framework_TestCase' not found
#3562BogusBug2005-02-23PHPUnit does not find test classes to include
#3589ClosedBug2005-02-25phpunit.bat doesn't work when PHP or PEAR exist in directory with space in name
#3596ClosedReq2005-02-25Display class and function name of failed tests
#3676ClosedBug2005-03-02Test results in error when include fails
#3723ClosedBug2005-03-06Loader does not find PEAR-ified class names
#4004No FeedbackBug2005-03-30Exception messages are not shown
#4215ClosedReq2005-04-24Error Message
#4381Wont fixReq2005-05-18Add quiet mode that prints nothing if tests successful
#4456ClosedReq2005-05-27Add PEAR's test_dir to include_path
#4510ClosedReq2005-06-02phpunit dies/runs silently if php code contains errors
#4612BogusBug2005-06-16underline to slash in the file name
#5053ClosedBug2005-08-10PHPUnit2 problems with global variables
#5231No FeedbackReq2005-08-29Make it possible to filter paths in the IncludePathTestCollector
#5282BogusBug2005-09-02Tests get run 3 times
#5546ClosedReq2005-09-28Make filtering and/or filtering on the current file optional
#5720ClosedBug2005-10-19Class 'PHPUnit2_Framework_TestCase' not found (Warning.php line 37)
#5769No FeedbackReq2005-10-24Errors aren't displayed
#5824ClosedBug2005-10-29Fatal error on running tests
#5860ClosedReq2005-11-03missing parse errors after lint
#5923BogusBug2005-11-10PHPUnit2 generates nothing but help output
#5932SuspendedReq2005-11-10Make the PHP syntax check of files optional
#5933ClosedBug2005-11-10phpunit: "Could not create and run test suite:"
#6081BogusBug2005-11-26phpunit fails: Cannot redeclare class Config in pear/config.php on line 43
#6272ClosedBug2005-12-17Undefined index: failures in ResultPrinter.php
#6282ClosedBug2005-12-18Invalid PHP syntax validation in Fileloader.php
#6403No FeedbackReq2006-01-03assertResponseInTime() or similar
#6521ClosedBug2006-01-18Time Test Run Display is always 00:00
#6613ClosedBug2006-01-28AllTests.php have relative include paths that don't work
#6669ClosedReq2.3.42006-02-02Unintuitive behavior in ExceptionTestCase
#6815ClosedBug3.0.0alpha22006-02-17Mock generation
#6816ClosedReq3.0.0alpha22006-02-17never() expectation
#6817Wont fixReq3.0.0alpha22006-02-17Manipulating private/protected properties
#6820ClosedBugCVS2006-02-17generateMethodDefinition()
#6821SuspendedReqCVS2006-02-17Mocking methods that don't exist
#6822ClosedReq3.0.0alpha22006-02-17Dependency of PEAR_Config not removed
#6823BogusBug3.0.0alpha22006-02-17xdebug dependency - there is no 2.0.0
#6836BogusBugCVS2006-02-19ReflectionParameter::getClass()
#6839ClosedBug2.3.42006-02-19setExpectedException does not appear to work
#6954ClosedBugCVS2006-02-27Recursive dependency
#6965SuspendedReq2.3.52006-02-28Allow creating skeletons for non-user defined classes.
#7016BogusReq2.3.52006-03-04file extentsion other than ".php"
#7082BogusReqCVS2006-03-09PEAR Filenaming Scheme
#7098SuspendedReqCVS2006-03-12Simplified mocking of files and directories using Stream_Var
#7100ClosedBug2.3.52006-03-12Install fails with xdebug.2.0.0rc1-dev
#7106ClosedBug2.3.52006-03-13phpunit --skeleton troubles
#7107ClosedReq2.3.52006-03-13Platform-specific skeleton line endings
#7133BogusBugCVS2006-03-16Deprecated getClass() call
#7134ClosedBugCVS2006-03-16Constructor of test case - Mysterious warning
#7198BogusBug2.3.52006-03-24assertEquals in a try-catch block passes, when it should fail
#7373ClosedBug2.3.52006-04-12Unexpected "syntax error" in safe mode
#7535BogusBug2.3.52006-05-01Lack of correct documentation
#7574BogusBug2.3.52006-05-07addTest / addTestSuite non intuitive
#7585BogusBugCVS2006-05-08__autoload already defined
#7675BogusBug3.0.0alpha32006-05-19Bug in assertEquals
#7705ClosedBug3.0.0alpha32006-05-23Multiple mocking of a class without all methods results in wrong caller statist
#7707ClosedBug3.0.0alpha32006-05-23assertEquals does not ignore type in arrays and objects
#7749ClosedBug3.0.0alpha42006-05-29equalTo for parameters in mocked methods does fail on empty arrays
#7750Wont fixBug3.0.0alpha42006-05-29Mockobjects methods calls are checked case sensitive
#7770ClosedBug3.0.0alpha42006-05-31TextUI/TestRunner::doSkeleton $skeleton not always an object
#7780ClosedBug3.0.0alpha52006-06-01Exception in dtor causes fatal error
#7868ClosedBug3.0.0alpha92006-06-11Infinite Loop in coverage factory
#7887ClosedReq3.0.0alpha102006-06-13Mocking interfaces
#7930SuspendedBug3.0.0alpha112006-06-17TestSuite does not find Tests in Files correctly when using addTestFile.
#8080ClosedBug3.0.0alpha112006-06-29Mocking class with final methods fails
#8202ClosedBug3.0.0alpha112006-07-13var_export() fails on recursive dependency
#8203ClosedBug3.0.0alpha112006-07-13individual compilers required
#8275ClosedReq2.3.62006-07-24PHPUnit2_Framework_TestResult::removeListener() not removing.
#8509ClosedBug2.3.62006-08-18Bug in assertEquals(Float $expected, Float $actual, Float $delta = 0)
#9159ClosedBug3.0.0alpha112006-10-25class_exists and interface_exists trigger __autoload