\PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.
Here is an example using the dynamic test definition.
<code>
<?php
$suite = new PHPUnit_Framework_TestSuite;
$suite->addTest(new MathTest('testPass'));
?>
</code>
Alternatively, a TestSuite can extract the tests to be run automatically.
To do so you pass a ReflectionClass instance for your
PHPUnit_Framework_TestCase class to the PHPUnit_Framework_TestSuite
constructor.
<code>
<?php
$suite = new PHPUnit_Framework_TestSuite(
new ReflectionClass('MathTest')
);
?>
</code>
This constructor creates a suite with all the methods starting with
"test" that take no arguments.
- Author: Sebastian Bergmann <sebastian@phpunit.de>
- Copyright: 2001-2014 Sebastian Bergmann <sebastian@phpunit.de>
- License: http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
Synopsis
- // members
- protected boolean $backupGlobals;
- protected boolean $backupStaticAttributes;
- protected boolean $runTestInSeparateProcess;
- protected string $name;
- protected array $groups;
- protected array $tests;
- protected integer $numTests;
- protected boolean $testCase;
- protected array $foundClasses;
- private PHPUnit_Runner_Filter_Factory $iteratorFilter;
- // methods
- public void __construct()
- public string toString()
- public void addTest()
- public void addTestSuite()
- public void addTestFile()
- public void addTestFiles()
- public integer count()
- public static PHPUnit_Framework_Test createTest()
- protected PHPUnit_Framework_TestResult createResult()
- public string getName()
- public array getGroups()
- public void getGroupDetails()
- public void setGroupDetails()
- public PHPUnit_Framework_TestResult run()
- public void setRunTestInSeparateProcess()
- public void runTest()
- public void setName()
- public PHPUnit_Framework_Test testAt()
- public array tests()
- public void setTests()
- public void markTestSuiteSkipped()
- protected void addTestMethod()
- public static boolean isTestMethod()
- protected static PHPUnit_Framework_Warning warning()
- protected static PHPUnit_Framework_SkippedTestCase skipTest()
- protected static PHPUnit_Framework_IncompleteTestCase incompleteTest()
- public void setBackupGlobals()
- public void setBackupStaticAttributes()
- public RecursiveIteratorIterator getIterator()
- public void injectFilter()
- protected void setUp()
- protected void tearDown()
Hierarchy
Extended by
- PHPUnit_Framework_TestSuite_DataProvider
- PHPUnit_Extensions_PhptTestSuite
- PHPUnit_Extensions_GroupTestSuite
Implements
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
167 - 238 | CyclomaticComplexity | The method __construct() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10. |
167 - 238 | NPathComplexity | The method __construct() has an NPath complexity of 768. The configured NPath complexity threshold is 200. |
289 - 329 | CyclomaticComplexity | The method addTestSuite() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. |
347 - 415 | CyclomaticComplexity | The method addTestFile() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. |
347 - 415 | NPathComplexity | The method addTestFile() has an NPath complexity of 288. The configured NPath complexity threshold is 200. |
461 - 628 | CyclomaticComplexity | The method createTest() has a Cyclomatic Complexity of 28. The configured cyclomatic complexity threshold is 10. |
461 - 628 | NPathComplexity | The method createTest() has an NPath complexity of 15548. The configured NPath complexity threshold is 200. |
461 - 628 | ExcessiveMethodLength | The method createTest() has 168 lines of code. Current threshold is set to 100. Avoid really long methods. |
683 - 765 | CyclomaticComplexity | The method run() has a Cyclomatic Complexity of 20. The configured cyclomatic complexity threshold is 10. |
683 - 765 | NPathComplexity | The method run() has an NPath complexity of 1400. The configured NPath complexity threshold is 200. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
495 | 13 | error | Expected "} else {\n"; found "} // TestCase($name, $data)\n else {\n" |
502 | 134 | warning | Line exceeds 120 characters; contains 133 characters |
704 | 125 | warning | Line exceeds 120 characters; contains 124 characters |
755 | 129 | warning | Line exceeds 120 characters; contains 128 characters |
Members
private
- $iteratorFilter — PHPUnit_Runner_Filter_Factory
protected
- $backupGlobals
—
boolean
Enable or disable the backup and restoration of the $GLOBALS array. - $backupStaticAttributes
—
boolean
Enable or disable the backup and restoration of static attributes. - $foundClasses — array
- $groups
—
array
The test groups of the test suite. - $name
—
string
The name of the test suite. - $numTests
—
integer
The number of tests in the test suite. - $runTestInSeparateProcess — boolean
- $testCase — boolean
- $tests
—
array
The tests in the test suite.
Methods
protected
- addTestMethod()
- createResult() — Creates a default TestResult object.
- incompleteTest()
- setUp() — Template Method that is called before the tests of this test suite are run.
- skipTest()
- tearDown() — Template Method that is called after the tests of this test suite have finished running.
- warning()
public
- __construct() — Constructs a new TestSuite:
- addTest() — Adds a test to the suite.
- addTestFile() — Wraps both <code>addTest()</code> and <code>addTestSuite</code> as well as the separate import statements for the user's convenience.
- addTestFiles() — Wrapper for addTestFile() that adds multiple test files.
- addTestSuite() — Adds the tests from the given class to the suite.
- count() — Counts the number of test cases that will be run by this test.
- createTest()
- getGroupDetails()
- getGroups() — Returns the test groups of the suite.
- getIterator() — Returns an iterator for this test suite.
- getName() — Returns the name of the suite.
- injectFilter()
- isTestMethod()
- markTestSuiteSkipped() — Mark the test suite as skipped.
- run() — Runs the tests and collects their result in a TestResult.
- runTest() — Runs a test.
- setBackupGlobals()
- setBackupStaticAttributes()
- setGroupDetails() — Set tests groups of the test case
- setName() — Sets the name of the suite.
- setRunTestInSeparateProcess()
- setTests() — Set tests of the test suite
- testAt() — Returns the test at the given index.
- tests() — Returns the tests as an enumeration.
- toString() — Returns a string representation of the test suite.
History
-
2014-08-17T10:18:07+02:00 (commit #fd5ef8a)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
phpcbf --standard=PSR2 src tests
-
2014-08-17T09:59:50+02:00 (commit #f40b290)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix @since annotations
-
2014-08-12T07:25:32+02:00 (commit #55caa21)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix CS/WS issues
-
2014-08-12T06:43:31+02:00 (commit #50dfaba)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
phpcbf --standard=PSR2 src tests
-
2014-08-06T00:32:16+02:00 (commit #a965789)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
CS fix (via @webmozart).
-
2014-08-02T13:28:02+02:00 (commit #dfe2cf1)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Make sure skipped and errored test suites still setup and teardown properly.
-
2014-07-31T14:46:19+02:00 (commit #5f797c7)
Author: sun (sun@unleashedmind.com) / Commiter: sun (sun@unleashedmind.com)
Fix #1369: False-positive matches in reverse-mapping of filename to classname.
-
2014-07-31T02:33:34+02:00 (commit #7bc72a6)
Author: sun (sun@unleashedmind.com) / Commiter: sun (sun@unleashedmind.com)
Fix #1369: TestSuite::addTestFile() performance + docs.
-
2014-07-29T12:57:27+02:00 (commit #070672d)
Author: dracony (draconyster@gmail.com) / Commiter: Roman Tsiupa (draconyster@gmail.com)
Fix running tests for autoloaded classes(cherry picked from commit 689f91f6bc50bb3c1be4631fb4214690d0b598de)
-
2014-07-22T00:48:47+02:00 (commit #dcfd677)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Cleanup 185b7ae.
-
2014-07-22T00:31:57+02:00 (commit #185b7ae)
Author: Davey Shafik (me@daveyshafik.com) / Commiter: Davey Shafik (me@daveyshafik.com)
Allow markTestSkipped/Incomplete() in dataProvider - If you call `$this->markTestSkipped()` or `$this->markTestIncomplete()` in a dataProvider, it will now skip/incomplete the test, counting it as one test
-
2014-06-15T18:41:38+02:00 (commit #168ac2b)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Formatting.
-
2014-06-12T16:52:35+02:00 (commit #ee1da98)
Author: Eugene Leonovich (gen.work@gmail.com) / Commiter: Eugene Leonovich (gen.work@gmail.com)
Check requirements before "beforeClass" calls in a TestSuite
-
2014-03-18T15:34:02+01:00 (commit #f12e10f)
Author: Hans-Peter Buniat (hpbuniat@gmail.com) / Commiter: Hans-Peter Buniat (hpbuniat@gmail.com)
fixed autoloader-issue with not-existing-files, regression in cad11af82d1856ccf8c6bfd7d4d49efd04ccea81
-
2014-03-17T15:55:33+01:00 (commit #cad11af)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Refactor PHPUnit_Util_Test::getHookMethods() to perform the class_exists() check
-
2014-03-17T14:18:28+01:00 (commit #844240c)
Author: Hans-Peter Buniat (hpbuniat@gmail.com) / Commiter: Hans-Peter Buniat (hpbuniat@gmail.com)
get hook-methods only if a testcase will run
-
2014-03-15T11:32:48+01:00 (commit #32a5795)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Refactor the handling of the @beforeClass, @before, @after, @afterClass annotations to close #1186 and probably solve other issues (in process isolation, for instance)
-
2014-03-15T10:05:28+01:00 (commit #3c61e70)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix whitespace
-
2014-03-15T10:04:53+01:00 (commit #3cfc883)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add missing annotation
-
2014-03-15T10:03:37+01:00 (commit #40c6b27)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix whitespace
-
2014-03-15T09:19:16+01:00 (commit #e2d2d80)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Refactor how methods annotated with @beforeClass or @afterClass are invoked
-
2014-03-15T09:02:54+01:00 (commit #45693dc)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Eliminate unused arguments
-
2014-03-15T08:57:00+01:00 (commit #fd1593b)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix docblocks
-
2014-02-14T18:31:32+01:00 (commit #e5b50bc)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Next version will be 4.0
-
2014-01-28T19:02:23+01:00 (commit #13f77b7)
Author: Lars Strojny (lars@strojny.net) / Commiter: Jeff Welch (lars@strojny.net)
Adding a few mutators
-
2014-01-22T19:43:07+01:00 (commit #02b42d7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial work on formatting code according to PSR-2
-
2014-01-20T17:21:13+01:00 (commit #3a5808f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup
-
2014-01-12T01:26:16+01:00 (commit #af5610d)
Author: Lars Strojny (lars@strojny.net) / Commiter: Lars Strojny (lars@strojny.net)
Adding a few mutators
-
2014-01-09T08:11:47+01:00 (commit #205e008)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year
-
2014-01-03T17:36:23+01:00 (commit #aeab2e4)
Author: Laurent Laffont (laurent.laffont@gmail.com) / Commiter: Laurent Laffont (laurent.laffont@gmail.com)
Performance improvement when using --filter option with large test code base: PHPUnit_Framework_TestSuite::isTestMethod is the bottleneck. * Now 2 times less calls from PHPUnit_Framework_TestSuite::addTestMethod * Only 1 call to ReflectionFunctionAbstract::getDocComment Conflicts: PHPUnit/Framework/TestSuite.php
-
2013-09-23T13:37:30+02:00 (commit #af470de)
Author: Michiel de Wit (michiel.dewit@procurios.nl) / Commiter: Michiel de Wit (michiel.dewit@procurios.nl)
Added two calls to PHPUnit_Framework_TestResult::endTestSuite() from PHPUnit_Framework_TestSuite::run() to make sure test suites are ended properly when an exception (e.g. PHPUnit_Framework_SkippedTestError) in a test's setUpBeforeClass() method
-
2013-05-04T09:44:40+02:00 (commit #a1ff95b)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fix CS.
-
2013-05-01T09:50:07+02:00 (commit #9b51067)
Author: Giorgio Sironi (info@giorgiosironi.com) / Commiter: Giorgio Sironi (info@giorgiosironi.com)
Introducing ensureIsStatic()
-
2013-04-25T11:17:36+02:00 (commit #8676c42)
Author: Giorgio Sironi (info@giorgiosironi.com) / Commiter: Giorgio Sironi (info@giorgiosironi.com)
Improved regular expressions
-
2013-04-25T11:13:18+02:00 (commit #8a7c496)
Author: Giorgio Sironi (info@giorgiosironi.com) / Commiter: Giorgio Sironi (info@giorgiosironi.com)
Added support for @before and @after
-
2013-04-25T10:18:33+02:00 (commit #6e0cde7)
Author: Giorgio Sironi (info@giorgiosironi.com) / Commiter: Giorgio Sironi (info@giorgiosironi.com)
Added functional test for @beforeClass and @afterClass
-
2013-04-18T08:48:38+02:00 (commit #b22103a)
Author: Timofey Dmitriev (dmtimofey@gmail.com) / Commiter: Timofey Dmitriev (dmtimofey@gmail.com)
#813 @before and @after annotations
-
2013-02-05T09:42:36+01:00 (commit #837cb86)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Eliminate unused variables
-
2013-01-26T13:21:21+01:00 (commit #0eccd6a)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup
-
2013-01-14T20:06:42+01:00 (commit #92a8006)
Author: Alexei Kornienko (alexei.kornienko@gmail.com) / Commiter: Alexei Kornienko (alexei.kornienko@gmail.com)
Refactor how tests are run -added Filters injection in TestRunner -refactor TestSuite::run
-
2013-01-07T11:37:52+01:00 (commit #c517984)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year
-
2013-01-07T07:19:22+01:00 (commit #4005051)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fixes GH-498 * Fixed a bug where tests won't run if a dataProvider throws an Exception and a group is specified.
-
2012-11-14T18:23:25+01:00 (commit #c5ebbe7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Eliminate PHPUnit_Util_Class.
-
2012-09-24T06:47:44+02:00 (commit #81ab540)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Do not perform string replacement for @package_version@ anymore.
-
2012-09-07T15:58:26+02:00 (commit #26d57b4)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Explainatory comment for the fix for #631 and ChangeLog entry.
-
2012-09-05T01:33:38+02:00 (commit #1084280)
Author: Anton Andersen (anton.a.andersen@gmail.com) / Commiter: Anton Andersen (anton.a.andersen@gmail.com)
Prevent initiation of user's class autoloader on selenium tests Fix for issue #631 https://github.com/sebastianbergmann/phpunit/issues/631
-
2012-05-27T14:12:42+02:00 (commit #76a561e)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Revert "Merge pull request #572 from mgb/excluded_tests_testlistener" This reverts commit 3b5d59a5d341f9b851ea373a31beb1cdc4b10ccb, reversing changes made to 063359e67e2031ba2ab9afdeb1bd6855c90987e4.
-
2012-05-20T19:52:08+02:00 (commit #67876c2)
Author: Ryan Murphy (git@minegoboom.com) / Commiter: Mine GO BOOM (git@minegoboom.com)
Quick hack to make ResultPrinter.php include excluded tests in its output. I choose to use an underscore as the output as we would want to have the total percentage complete to end up with 100%. If instead we would call writeProgress(NULL) and not have it output anything nor increment $this->column, it would cause the total summary to continue to increment. That does have the side effect where if you hit a chunk of excluded tests, your counter may go from 122/1300 to 553/1300 on the following line with no real indication of why. Another option I thought of was to instead cause the total number of tests counter to decrement, but that also looks weird if you go from 120/1500 (8%) to 160/800 (20%). But in the case when you exclude large chunks, it would prevent lots of useless output.
-
2012-04-30T12:02:38+02:00 (commit #5786e50)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
List The BSD 3-Clause License correctly and consistently. Thanks to Christian Aistleitner <christian@quelltextlich.at> for bringing this issue to my attention.
-
2012-04-01T13:53:53+02:00 (commit #107f36c)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Closes #376: Removed, nowadays, superfluous check that lead to hard to debug edge cases as described in the gh-issue
-
2012-03-24T12:55:45+01:00 (commit #eda3189)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Closes #526: Docfix
-
2012-01-01T11:21:16+01:00 (commit #aae6c38)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2011-12-27T10:21:52+01:00 (commit #37cacc9)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
PHPUnit no longer throws exceptions that do not extend PHPUnit_Framework_Exception.
-
2011-12-20T11:54:00+01:00 (commit #635b47b)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Tidy up #444
-
2011-12-19T16:35:02+01:00 (commit #59548a4)
Author: flyingmana (flyingmana@googlemail.com) / Commiter: flyingmana (flyingmana@googlemail.com)
make InvalidArgumentException of PHPUnit_Framework_TestSuite more informativ
-
2011-06-14T21:48:23+02:00 (commit #c13a41c)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix issues found by PHP_CodeSniffer.
-
2011-06-14T17:04:40+02:00 (commit #7b37221)
Author: Bernhard Schussek (bschussek@2bepublished.at) / Commiter: Bernhard Schussek (bschussek@2bepublished.at)
Modified constraint subframework to use the new comparator classes
-
2011-06-14T17:04:40+02:00 (commit #d38ea8f)
Author: Bernhard Schussek (bschussek@2bepublished.at) / Commiter: Bernhard Schussek (bschussek@2bepublished.at)
Replaced PHPUnit_Framework_Constraint_IsEqual::recursiveComparison() with a comparator sub-component This sub-component has three final goals: * Allow end-users to override the comparison mechanism for specific data types. This is especially interesting when classes have internal, random property values (for example generated tokens or IDs) that
-
2011-03-12T00:21:11+01:00 (commit #5ce4210)
Author: Oleg Pudeyev (oleg@bsdpower.com) / Commiter: Oleg Pudeyev (oleg@bsdpower.com)
Catch unhandled exceptions thrown out of setUpBeforeClass functions
-
2011-02-12T21:29:36+01:00 (commit #6dced11)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup.
-
2011-02-10T00:11:00+01:00 (commit #df05f99)
Author: Oleg Pudeyev (oleg@bsdpower.com) / Commiter: Oleg Pudeyev (oleg@bsdpower.com)
Print class name when warning about non-public test methods.
-
2011-02-02T03:38:50+01:00 (commit #f58f39b)
Author: Oleg Pudeyev (oleg@bsdpower.com) / Commiter: Oleg Pudeyev (oleg@bsdpower.com)
Skip setUpBeforeClass if all test methods are going to be skipped
-
2011-01-25T08:24:47+01:00 (commit #2b7f44f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Do not use PHP_CodeCoverage blacklist for PHPUnit stacktrace filtering.
-
2011-01-19T07:58:33+01:00 (commit #c285b9f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix whitespace.
-
2011-01-18T10:37:22+01:00 (commit #a9bc884)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fixes #71.
-
2011-01-16T13:43:58+01:00 (commit #983eaa8)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
`PHPUnit_Util_Fileloader::checkAndLoad()` now uses the `include_path` `PHPUnit_Util_Fileloader::checkAndLoad()` errors show the original filename instead of a name prepended with ./ The bootstrap is no longer loaded in two places.
-
2010-12-31T11:45:34+01:00 (commit #bee3344)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2010-12-03T09:43:26+01:00 (commit #ebadd0f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Use PHP_CodeCoverage autoloader.
-
2010-10-24T08:54:30+02:00 (commit #cf239fd)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Sebastian Bergmann (whatthejeff@gmail.com)
Made `PHPUnit_Framework_TestSuite_DataProvider` report warnings in a way that is more consistent with `PHPUnit_Framework_TestSuite`. This refs issue_13.
-
2010-10-05T18:16:09+02:00 (commit #157a730)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove the deprecated syntax check functionality.
-
2010-07-07T12:42:23+02:00 (commit #f0d9cdd)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Change email address.
-
2010-06-22T09:58:05+02:00 (commit #aa08bbf)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Check whether the test class extends PHPUnit_Framework_TestCase.
-
2010-06-22T09:41:12+02:00 (commit #6bae49d)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix CS.
-
2010-06-22T09:40:14+02:00 (commit #1137402)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup.
-
2010-06-22T09:14:00+02:00 (commit #c2bf6a3)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Throw an exception when createTest() is called with an invalid test.
-
2010-06-12T20:25:54+02:00 (commit #d19a737)
Author: Mark Story (mark@mark-story.com) / Commiter: Mark Story (mark@mark-story.com)
Removing trailing whitespace from files. Refs #1063
-
2010-06-12T11:15:32+02:00 (commit #7a94f25)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove unused local variable.
-
2010-06-12T10:57:17+02:00 (commit #22f22a7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove unused local variables.
-
2010-06-12T10:55:44+02:00 (commit #0793007)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove unused argument.
-
2010-05-25T09:04:46+02:00 (commit #c54fb5b)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix TRAC-1056.
-
2010-05-05T18:33:34+02:00 (commit #7d797e8)
Author: scoates (sean@seancoates.com) / Commiter: Sebastian Bergmann (sean@seancoates.com)
fix ticket #1047 -- tearDownAfterClass() never called
-
2010-04-05T17:41:26+02:00 (commit #471d69e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add @subpackage annotation.
-
2010-02-11T08:44:52+01:00 (commit #683aa15)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix TRAC-952.
-
2010-02-03T03:42:35+01:00 (commit #50e751d)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove shared fixture functionality.
-
2010-02-02T14:14:29+01:00 (commit #bc1aaaa)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove closing PHP tags.
-
2010-02-02T00:56:28+01:00 (commit #200ad36)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Handle invalid data provider specifications gracefully.
-
2010-01-19T09:39:03+01:00 (commit #fb48a69)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial work on autoloading.
-
2009-12-31T09:26:09+01:00 (commit #37f75ff)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2009-12-31T09:25:53+01:00 (commit #bddcc5f)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2009-12-31T09:23:37+01:00 (commit #7a7d0b7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Bump copyright year.
-
2009-12-25T10:32:26+01:00 (commit #60e7125)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove Subversion keywords.
-
2009-12-25T10:30:57+01:00 (commit #42294ad)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove Subversion keywords.
-
2009-12-25T10:26:35+01:00 (commit #8617133)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove Subversion keywords.
-
2009-11-23T09:39:24+01:00 (commit #1503412)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [5389].
-
2009-11-23T09:29:23+01:00 (commit #4c9cf4e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial work on PHP_CodeCoverage migration.
-
2009-11-12T19:40:09+01:00 (commit #48eaa12)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [5312:5314].
-
2009-11-12T19:36:12+01:00 (commit #a2de7f7)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Make sure tearDownAfterClass() is called only once.
-
2009-09-29T14:41:31+02:00 (commit #ecf1337)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [5259].
-
2009-09-29T14:34:55+02:00 (commit #1b0ff40)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup.
-
2009-09-28T13:07:46+02:00 (commit #3dbb891)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Merge [5253].
-
2009-09-28T13:05:56+02:00 (commit #2ab679e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix #875.