\PHPUnit_Util_Configuration
Wrapper for the PHPUnit XML configuration file.
Example XML configuration file:
<code>
<?xml version="1.0" encoding="utf-8" ?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
bootstrap="/path/to/bootstrap.php"
cacheTokens="false"
colors="false"
stderr="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
printerClass="PHPUnit_TextUI_ResultPrinter"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnRisky="false"
stopOnSkipped="false"
testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader"
timeoutForSmallTests="1"
timeoutForMediumTests="10"
timeoutForLargeTests="60"
beStrictAboutTestsThatDoNotTestAnything="false"
beStrictAboutOutputDuringTests="false"
beStrictAboutTestSize="false"
beStrictAboutTodoAnnotatedTests="false"
checkForUnintentionallyCoveredCode="false"
verbose="false">
<testsuites>
<testsuite name="My Test Suite">
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">/path/to/files</directory>
<file phpVersion="5.3.0" phpVersionOperator=">=">/path/to/MyTest.php</file>
<exclude>/path/to/files/exclude</exclude>
</testsuite>
</testsuites>
<groups>
<include>
<group>name</group>
</include>
<exclude>
<group>name</group>
</exclude>
</groups>
<filter>
<blacklist>
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
<exclude>
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
</exclude>
</blacklist>
<whitelist addUncoveredFilesFromWhitelist="true"
processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
<exclude>
<directory suffix=".php">/path/to/files</directory>
<file>/path/to/file</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="MyListener" file="/optional/path/to/MyListener.php">
<arguments>
<array>
<element key="0">
<string>Sebastian</string>
</element>
</array>
<integer>22</integer>
<string>April</string>
<double>19.78</double>
<null/>
<object class="stdClass"/>
<file>MyRelativeFile.php</file>
<directory>MyRelativeDir</directory>
</arguments>
</listener>
</listeners>
<logging>
<log type="coverage-html" target="/tmp/report" lowUpperBound="50" highLowerBound="90"/>
<log type="coverage-clover" target="/tmp/clover.xml"/>
<log type="json" target="/tmp/logfile.json"/>
<log type="plain" target="/tmp/logfile.txt"/>
<log type="tap" target="/tmp/logfile.tap"/>
<log type="junit" target="/tmp/logfile.xml" logIncompleteSkipped="false"/>
<log type="testdox-html" target="/tmp/testdox.html"/>
<log type="testdox-text" target="/tmp/testdox.txt"/>
<log type="coverage-crap4j" target="/tmp/crap.xml"/>
</logging>
<php>
<includePath>.</includePath>
<ini name="foo" value="bar"/>
<const name="foo" value="bar"/>
<var name="foo" value="bar"/>
<env name="foo" value="bar"/>
<post name="foo" value="bar"/>
<get name="foo" value="bar"/>
<cookie name="foo" value="bar"/>
<server name="foo" value="bar"/>
<files name="foo" value="bar"/>
<request name="foo" value="bar"/>
</php>
<selenium>
<browser name="Firefox on Linux"
browser="*firefox /usr/lib/firefox/firefox-bin"
host="my.linux.box"
port="4444"
timeout="30000"/>
</selenium>
</phpunit>
</code>
- 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
- private array $instances;
- protected $document;
- protected $xpath;
- protected $filename;
- // methods
- protected void __construct()
- private final void __clone()
- public static PHPUnit_Util_Configuration getInstance()
- public string getFilename()
- public array getFilterConfiguration()
- public array getGroupConfiguration()
- public array getListenerConfiguration()
- public array getLoggingConfiguration()
- public array getPHPConfiguration()
- public void handlePHPConfiguration()
- public array getPHPUnitConfiguration()
- public array getSeleniumBrowserConfiguration()
- public PHPUnit_Framework_TestSuite getTestSuiteConfiguration()
- protected PHPUnit_Framework_TestSuite getTestSuite()
- protected boolean getBoolean()
- protected boolean getInteger()
- protected array readFilterDirectories()
- protected array readFilterFiles()
- protected string toAbsolutePath()
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
351 - 389 | CyclomaticComplexity | The method getListenerConfiguration() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
396 - 444 | CyclomaticComplexity | The method getLoggingConfiguration() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. |
506 - 562 | CyclomaticComplexity | The method handlePHPConfiguration() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. |
506 - 562 | NPathComplexity | The method handlePHPConfiguration() has an NPath complexity of 630. The configured NPath complexity threshold is 200. |
570 - 772 | CyclomaticComplexity | The method getPHPUnitConfiguration() has a Cyclomatic Complexity of 32. The configured cyclomatic complexity threshold is 10. |
570 - 772 | NPathComplexity | The method getPHPUnitConfiguration() has an NPath complexity of 2147483648. The configured NPath complexity threshold is 200. |
570 - 772 | ExcessiveMethodLength | The method getPHPUnitConfiguration() has 203 lines of code. Current threshold is set to 100. Avoid really long methods. |
858 - 969 | CyclomaticComplexity | The method getTestSuite() has a Cyclomatic Complexity of 21. The configured cyclomatic complexity threshold is 10. |
858 - 969 | NPathComplexity | The method getTestSuite() has an NPath complexity of 112326. The configured NPath complexity threshold is 200. |
858 - 969 | ExcessiveMethodLength | The method getTestSuite() has 112 lines of code. Current threshold is set to 100. Avoid really long methods. |
1073 - 1109 | CyclomaticComplexity | The method toAbsolutePath() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
362 | 63 | error | Only one argument is allowed per line in a multi-line function call |
577 | 62 | error | Only one argument is allowed per line in a multi-line function call |
583 | 57 | error | Only one argument is allowed per line in a multi-line function call |
592 | 56 | error | Only one argument is allowed per line in a multi-line function call |
598 | 64 | error | Only one argument is allowed per line in a multi-line function call |
604 | 73 | error | Only one argument is allowed per line in a multi-line function call |
616 | 76 | error | Only one argument is allowed per line in a multi-line function call |
622 | 77 | error | Only one argument is allowed per line in a multi-line function call |
628 | 78 | error | Only one argument is allowed per line in a multi-line function call |
634 | 72 | error | Only one argument is allowed per line in a multi-line function call |
647 | 67 | error | Only one argument is allowed per line in a multi-line function call |
653 | 62 | error | Only one argument is allowed per line in a multi-line function call |
659 | 64 | error | Only one argument is allowed per line in a multi-line function call |
665 | 67 | error | Only one argument is allowed per line in a multi-line function call |
671 | 62 | error | Only one argument is allowed per line in a multi-line function call |
677 | 64 | error | Only one argument is allowed per line in a multi-line function call |
707 | 71 | error | Only one argument is allowed per line in a multi-line function call |
713 | 72 | error | Only one argument is allowed per line in a multi-line function call |
719 | 71 | error | Only one argument is allowed per line in a multi-line function call |
725 | 90 | error | Only one argument is allowed per line in a multi-line function call |
731 | 85 | error | Only one argument is allowed per line in a multi-line function call |
737 | 81 | error | Only one argument is allowed per line in a multi-line function call |
743 | 72 | error | Only one argument is allowed per line in a multi-line function call |
749 | 82 | error | Only one argument is allowed per line in a multi-line function call |
755 | 57 | error | Only one argument is allowed per line in a multi-line function call |
767 | 58 | error | Only one argument is allowed per line in a multi-line function call |
796 | 61 | error | Only one argument is allowed per line in a multi-line function call |
804 | 64 | error | Only one argument is allowed per line in a multi-line function call |
Members
private
- $instances
protected
- $document
- $filename
- $xpath
Methods
private
protected
- __construct() — Loads a PHPUnit configuration file.
- getBoolean()
- getInteger()
- getTestSuite()
- readFilterDirectories()
- readFilterFiles()
- toAbsolutePath()
public
- getFilename() — Returns the realpath to the configuration file.
- getFilterConfiguration() — Returns the configuration for SUT filtering.
- getGroupConfiguration() — Returns the configuration for groups.
- getInstance() — Returns a PHPUnit configuration object.
- getListenerConfiguration() — Returns the configuration for listeners.
- getLoggingConfiguration() — Returns the logging configuration.
- getPHPConfiguration() — Returns the PHP configuration.
- getPHPUnitConfiguration() — Returns the PHPUnit configuration.
- getSeleniumBrowserConfiguration() — Returns the SeleniumTestCase browser configuration.
- getTestSuiteConfiguration() — Returns the test suite configuration.
- handlePHPConfiguration() — Handles the PHP configuration.
History
-
2014-08-13T16:57:28+02:00 (commit #fb7caed)
Author: Daniel F. Kudwien (sun) (sun@unleashedmind.com) / Commiter: Daniel F. Kudwien (sun) (sun@unleashedmind.com)
Fix #1380: Limit strict error handling in XML::load() to configuration.
-
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-07-06T08:14:27+02:00 (commit #53e3c28)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fixes #1311. Don't use empty strings as files.
-
2014-04-24T09:55:55+02:00 (commit #a8d628e)
Author: Christopher Davis (cdavis9999@gmail.com) / Commiter: Sebastian Bergmann (cdavis9999@gmail.com)
Don't Overwrite Already Existing Environment Vars Closes #1181 If a variable is already set via `putenv` or if the variable is already present in the `$_ENV` array, it will no longer be ovewritten by `PHPUnit_Util_Configuration::handlePHPConfiguration`.
-
2014-04-20T10:44:50+02:00 (commit #a8aa89e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Refinement of 560c99abb8b7db7f5d7ca72653126134c97b3ac1
-
2014-03-24T09:24:58+01:00 (commit #6479694)
Author: Ilya Bulah (ilya.bulah@gmail.com) / Commiter: Ilya Bulah (ilya.bulah@gmail.com)
Issue #657: stderr in xml configuration
-
2014-02-13T13:03:09+01:00 (commit #9736dfe)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Sync with https://github.com/sebastianbergmann/php-code-coverage/commit/14ffa5c938365fe11680616eb17cdb1b8c9a1e7e
-
2014-02-13T11:17:15+01:00 (commit #d8ab035)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Eliminate superfluous code
-
2014-02-13T11:15:20+01:00 (commit #76d3051)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Sync with https://github.com/sebastianbergmann/php-code-coverage/commit/5d6c3b4347b8141b43c7e253c3004f58ae361f5d
-
2014-02-13T11:13:48+01:00 (commit #e66b7c9)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Sync with https://github.com/sebastianbergmann/php-code-coverage/commit/2990bd9b0093867f263afafaf772f2a3af3495fe
-
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-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-05T12:03:59+01:00 (commit #9101f51)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Closes #914
-
2014-01-03T10:56:51+01:00 (commit #5fa6726)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Introduce new test classification: risky test
-
2013-10-12T09:31:52+02:00 (commit #e60a9a5)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Formatting.
-
2013-10-12T07:56:25+02:00 (commit #fcf3727)
Author: Andrew Udvare (audvare@gmail.com) / Commiter: Andrew Udvare (audvare@gmail.com)
Allow forward slash on Windows as this is converted automatically to backslash even if at beginning of path
-
2013-09-24T14:21:37+02:00 (commit #e6ddb55)
Author: Andrew Udvare (audvare@gmail.com) / Commiter: Andrew Udvare (audvare@gmail.com)
Remove ctype extension dependency (use OS check); issue #946
-
2013-08-18T09:08:04+02:00 (commit #5514f28)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Increase default thresholds for low / medium coverage
-
2013-05-30T04:47:14+02:00 (commit #9740a58)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fixes #573, Fixes #552, Fixes #582. [BC BREAK] All relative paths in a configuration file are now resolved relative to that configuration file. When upgrading, you may need to update relative paths for the following configurations:
-
2013-05-20T23:08:36+02:00 (commit #3235ac0)
Author: Zsolt Takács (zsolt@takacs.cc) / Commiter: Zsolt Takács (zsolt@takacs.cc)
Add support for crap4j coverage report
-
2013-05-17T05:32:41+02:00 (commit #94e57e6)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Fixes #277. Account for `auto-globals-jit` when setting `$_ENV` and `$_SERVER` variables in the xml config.
-
2013-02-08T21:40:04+01:00 (commit #37fd782)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix WS issues
-
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
-
2012-11-10T16:33:03+01:00 (commit #51115dd)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Added the missing code for #711
-
2012-10-04T19:25:32+02:00 (commit #881d26a)
Author: Tobias Schlitt (toby@php.net) / Commiter: Sebastian Bergmann (toby@php.net)
Implemented XInclude support for phpunit.xml.
-
2012-10-04T19:12:10+02:00 (commit #b825d33)
Author: Tobias Schlitt (toby@php.net) / Commiter: Tobias Schlitt (toby@php.net)
Implemented XInclude support for phpunit.xml.
-
2012-10-02T18:54:55+02:00 (commit #af63337)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Resurrect addUncoveredFilesFromWhitelist configuration setting.
-
2012-10-02T18:29:38+02:00 (commit #50a5460)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Disable token caching (in PHP_TokenStream, used by PHP_CodeCoverage) by default (to reduce memory footprint).
-
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-18T09:01:35+02:00 (commit #a330932)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
PHP_CodeCoverage no longer has a title attribute.
-
2012-09-17T11:36:41+02:00 (commit #336c3ed)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
PHP_CodeCoverage no longer uses YUI.
-
2012-06-22T16:01:38+02:00 (commit #dd560a3)
Author: Austin Hyde (austin109@gmail.com) / Commiter: Austin Hyde (austin109@gmail.com)
Fixed the way PHPUnit_Util_Configuration parses listener constructor arguments Previously, getListenerConfiguration assumed the <arguments> element would always be the second element (index 1) because nicely formatted XML has a DOMText node containing a newline and some space before the arguments node. Computer-generated XML places the arguments element immediately after the listener element, so the node would be at index 0,
-
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-02-12T16:50:51+01:00 (commit #34bd4fe)
Author: jpic (jamespic@gmail.com) / Commiter: jpic (jamespic@gmail.com)
s/testSuiteName/testSuiteFilter/
-
2012-02-09T18:21:19+01:00 (commit #47c5f6d)
Author: jpic (jamespic@gmail.com) / Commiter: jpic (jamespic@gmail.com)
Added --testsuite option to filter directory/files based on the name attribute of their parent testsuite node
-
2012-01-27T11:48:59+01:00 (commit #2baaf1a)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Better fix for #466.
-
2012-01-23T22:13:44+01:00 (commit #21051ec)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Revert "PHPunit can fails to find testsuite files pointed by relative paths in configuration XML file. Fixed a difference of path processing between "directory" and "file" tag in Configuration.php." This reverts commit 401d42f3fb7ee4ee46654882d260708ebf26849b.
-
2012-01-23T22:13:36+01:00 (commit #93279fb)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Revert "Fixed failure with non existing files defined in <file> configuration." This reverts commit 6009484efa00238f946d692d3d378d783ee4ad4e.
-
2012-01-20T15:49:21+01:00 (commit #6009484)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Fixed failure with non existing files defined in <file> configuration.
-
2012-01-12T21:23:19+01:00 (commit #401d42f)
Author: Fabrice Marsaud (marsaud.fabrice@neuf.fr) / Commiter: Fabrice Marsaud (marsaud.fabrice@neuf.fr)
PHPunit can fails to find testsuite files pointed by relative paths in configuration XML file. Fixed a difference of path processing between "directory" and "file" tag in Configuration.php.
-
2012-01-12T19:29:08+01:00 (commit #c3335e6)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
addUncoveredFilesFromWhitelist -> processUncoveredFilesFromWhitelist
-
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-11-11T17:23:44+01:00 (commit #d04fc27)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Use absolute pathes for files included from phpunit.xml <file> configurations to make that consistant with the handling of directories. Closes #264
-
2011-11-08T10:11:03+01:00 (commit #e50646a)
Author: Igor Wiedler (igor@wiedler.ch) / Commiter: Igor Wiedler (igor@wiedler.ch)
do a putenv for <env> config (closes #386)
-
2011-11-08T09:49:26+01:00 (commit #6852c80)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Eliminate PHPUnit_Util_Filesystem::fileExistsInIncludePath().
-
2011-10-26T12:19:28+02:00 (commit #bfc351c)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix whitespace issues.
-
2011-10-11T20:28:32+02:00 (commit #83eb65a)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix whitespace.
-
2011-10-08T09:47:00+02:00 (commit #0df8fa1)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Use the new getInteger() method also for integer configuration values for Selenium.
-
2011-10-08T09:43:49+02:00 (commit #a9aa2b5)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Make timeouts configurable.
-
2011-10-04T21:12:05+02:00 (commit #b2efc2a)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Allow streams as logging targets.
-
2011-09-30T12:00:09+02:00 (commit #4c9cd2a)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Initial cleanup.
-
2011-09-30T10:50:33+02:00 (commit #132e932)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Fixed parameter passing
-
2011-09-11T08:11:18+02:00 (commit #14c3080)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix CS/WS issues.
-
2011-09-04T14:42:03+02:00 (commit #b2e5656)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Parameter passing fixes and getting the 'colors' argument to the ResultPrinter
-
2011-09-04T14:30:16+02:00 (commit #f7e1d94)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
Refactored cli output. It's now possible to write to the cli or to a file
-
2011-09-03T15:03:31+02:00 (commit #b3d843f)
Author: Volker Dusch (github@wallbash.com) / Commiter: Volker Dusch (github@wallbash.com)
First draft of CLI coverage output. Work in progress. Just to see if it could work out like that
-
2011-07-31T16:22:09+02:00 (commit #8df97bb)
Author: koseki (koseki@gmail.com) / Commiter: koseki (koseki@gmail.com)
Accept multiple <includePath> elements.
-
2011-05-21T19:21:09+02:00 (commit #248d03d)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Refs GH-232 and GH-231 * Allow specifying a test listener from the `include_path` in `configuration.xml`
-
2011-05-06T18:52:00+02:00 (commit #8fd9ba0)
Author: Laura Beth Lincoln Denker (github@elblinkin.info) / Commiter: Laura Beth Lincoln Denker (github@elblinkin.info)
Need grab node value from DOMElement and cast to string.
-
2011-05-06T16:27:43+02:00 (commit #d7aee07)
Author: Laura Beth Lincoln Denker (github@elblinkin.info) / Commiter: Laura Beth Lincoln Denker (github@elblinkin.info)
Add <exclude> tag to <testsuite> so that you can blacklist paths in a test suite.
-
2011-03-03T20:08:45+01:00 (commit #1832b03)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Update File_Iterator usage.
-
2011-02-03T10:58:25+01:00 (commit #63dcc47)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Close #145.
-
2011-02-03T10:35:45+01:00 (commit #dbe9633)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix default value.
-
2011-01-22T07:12:40+01:00 (commit #bc4400c)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove deprecated configuration attribute.
-
2011-01-22T07:12:20+01:00 (commit #4b5f8b1)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
This reverts commit cf0defd29e6a5eb026c716edf372c97ce6203e79.
-
2011-01-22T07:11:31+01:00 (commit #cf0defd)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove deprecated configuration attribute.
-
2011-01-20T10:22:08+01:00 (commit #3e7709f)
Author: Jeff Welch (whatthejeff@gmail.com) / Commiter: Jeff Welch (whatthejeff@gmail.com)
Added the current configuration file to the output from `PHPUnit_TextUI_TestRunner::doRun()`.
-
2011-01-19T11:45:41+01:00 (commit #92547e6)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Implement configuration of printer.
-
2011-01-17T10:11:38+01:00 (commit #c2580fd)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Close 42.
-
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:48:10+01:00 (commit #35fe6d8)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Use File_Iterator autoloader.
-
2010-10-06T21:24:09+02:00 (commit #b25bc9e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup and simplify.
-
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-09-19T12:49:31+02:00 (commit #45a5f1b)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Remove BDD functionality.
-
2010-07-17T15:22:44+02:00 (commit #6f2b9a9)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Eliminate duplicate code.
-
2010-07-17T15:07:51+02:00 (commit #502ab48)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Allow superglobals to be set via XML configuration file.
-
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-07-07T07:18:58+02:00 (commit #9c695c9)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Allow configuration of strict mode via the XML configuration file.
-
2010-07-06T11:36:21+02:00 (commit #875096c)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix TRAC-1075.
-
2010-07-06T11:31:35+02:00 (commit #a68030e)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix TRAC-1075.
-
2010-07-03T08:56:47+02:00 (commit #2104ad1)
Author: Brandon Turner (bturner@bltweb.net) / Commiter: Brandon Turner (bturner@bltweb.net)
Support file and directory arguments in XML config Added support for passing relative file and/or directory arguments when configuring listeners via the XML file.
-
2010-07-03T08:56:47+02:00 (commit #137dd7c)
Author: Brandon Turner (bturner@bltweb.net) / Commiter: Brandon Turner (bturner@bltweb.net)
Support relative paths when configuring listeners. When configuring listeners via the XML file, filenames specified in the file attribute of the listener element can now be relative to the phpunit.xml file.
-
2010-06-15T11:08:25+02:00 (commit #f152cea)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix CS.
-
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-05-17T15:15:28+02:00 (commit #62f0c69)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add forceCoversAnnotation and mapTestClassNameToCoveredClassName configuration options.
-
2010-05-17T14:56:19+02:00 (commit #f42dab4)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Fix CS/WS.
-
2010-05-17T14:54:49+02:00 (commit #30d59c8)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Refactor for readability.
-
2010-04-08T20:57:53+02:00 (commit #7802a57)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Implement TRAC-1033.
-
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-03-31T10:07:20+02:00 (commit #36739f1)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Cleanup.
-
2010-03-29T19:47:27+02:00 (commit #6cee0a7)
Author: Fabien Potencier (fabien.potencier@gmail.com) / Commiter: Fabien Potencier (fabien.potencier@gmail.com)
Change the XML configuration paths to be converted to absolute paths based on the directory of the XML file instead of the current working directory. It makes the configuration paths more predictable. Before the patch, you were forced to run the phpunit command from the same directory as the XML configuration file. For instance, to run the PHPUnit tests, you must use the following:
-
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-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.
-
2010-01-07T13:45:23+01:00 (commit #117cab2)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Implement <includePath> element for XML configuration file.
-
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-26T17:22:00+01:00 (commit #7f48073)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add support for "verbose" to XML configuration.
-
2009-12-26T17:13:23+01:00 (commit #6b5dc27)
Author: Sebastian Bergmann (sb@sebastian-bergmann.de) / Commiter: Sebastian Bergmann (sb@sebastian-bergmann.de)
Add support for "verbose" to XML configuration.
-
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.