Skip to content
Newer
Older
100644 81 lines (67 sloc) 5.75 KB
e08e7fd @sebastianbergmann Move changes to ChangeLog.markdown and some basic information to READ…
authored
1 PHPUnit 3.6
2 ===========
3
4 This is the list of changes for the PHPUnit 3.6 release series.
5
d57cb13 @edorian Fixed changelog. I missed that the 3.6.4 release already happend when…
edorian authored
6 PHPUnit 3.6.5
7 -------------
8
8c90c6b @sebastianbergmann Cleanup.
authored
9 * Implemented #406: Improved the failure description for `assertStringMatchesFormat*()`.
4cad87c @sebastianbergmann Update ChangeLog.
authored
10 * Fixed #204: Bootstrap script should be loaded before trying to load `testSuiteLoaderClass`.
11 * Fixed #413: PHPT test failures display double diffs.
8c90c6b @sebastianbergmann Cleanup.
authored
12 * Fixed #420: Using the `@outputBuffering enabled` annotation leads to failing tests when an output string was expected.
13 * Fixed #430: `OutputTestCase` did not work with `@depends`. Please note that this way of output testing is still deprecated.
14 * Fixed #432: Process Isolation did not work when PHPUnit is invoked through Apache Ant, for instance, due to PHP binary detection issues.
15 * Fixed #433: Testing output always printed the output during test execution.
d57cb13 @edorian Fixed changelog. I missed that the 3.6.4 release already happend when…
edorian authored
16
a77e9b5 @edorian Changelog entry for the #328 fix
edorian authored
17 PHPUnit 3.6.4
877663f @sebastianbergmann Fix markup.
authored
18 -------------
a77e9b5 @edorian Changelog entry for the #328 fix
edorian authored
19
cd097b7 @sebastianbergmann Cleanup.
authored
20 * Fixed #244: `@expectedExceptionCode` may now be a string.
21 * Fixed #264: XML test suite configuration using `<file>` tags failed when PHPUnit was run from another directory.
22 * Fixed #306: Assertions with binary data caused problems. Strings with non-printable characters will now be shown in hexadecimal representation.
23 * Fixed #328: Parsing of one line annotations did not work.
f004bf6 @sebastianbergmann Rephrase.
authored
24 * Fixed #407: `$_SERVER['_']` was not utilized properly to specify the PHP interpreter used for process isolation.
b4f3837 @sebastianbergmann Closes #411.
authored
25 * Fixed #411: Do not swallow output printed from test(ed) code by default.
a77e9b5 @edorian Changelog entry for the #328 fix
edorian authored
26
504770c @sebastianbergmann Update ChangeLog.
authored
27 PHPUnit 3.6.3
28 -------------
29
30 * Fixed #386: `<php><env>` in XML configuration file does not call `putenv()`.
4104d10 @edorian Update ChangeLog
edorian authored
31 * Fixed `--coverage-php` not working from the XML configuration.
07e2205 @edorian ChangeLog entry for #420
edorian authored
32 * Fixed `--coverage-text` producing a notice in some cases when used from the XML configuration
504770c @sebastianbergmann Update ChangeLog.
authored
33
18f0a3f @sebastianbergmann Closes #391.
authored
34 PHPUnit 3.6.2
35 -------------
36
37 * Fixed #391: Code Coverage does not work when no XML configuration file is used.
38
36bbe32 @sebastianbergmann Fix --coverage-php and --coverage-text.
authored
39 PHPUnit 3.6.1
40 -------------
41
75abcc6 @sebastianbergmann Closes #395.
authored
42 * Implemented #395: `--debug` now prints the output of tests for debugging purposes.
f437ef0 @sebastianbergmann Update ChangeLog.
authored
43 * Fixed #394: Backwards compatibility break with regard to comparison of numeric values.
36bbe32 @sebastianbergmann Fix --coverage-php and --coverage-text.
authored
44 * Fixed `--coverage-php` and `--coverage-text`.
45
e08e7fd @sebastianbergmann Move changes to ChangeLog.markdown and some basic information to READ…
authored
46 PHPUnit 3.6.0
47 -------------
48
2898d06 @sebastianbergmann Add assertAttributeCount() and assertAttributeNotCount().
authored
49 * Added `assertCount()` and `assertAttributeCount()` as well as `assertNotCount()` and `assertAttributeNotCount()` to assert the number of elements in an array (or `Countable` or `Iterator` objects).
99a61a1 @sebastianbergmann Initial work on assertSameSize() and assertNotSameSize().
authored
50 * Added `assertSameSize()` and `assertNotSameSize()` to assert that the size of two arrays (or `Countable` or `Iterator` objects) is the same.
a131f62 @sebastianbergmann Update ChangeLog.
authored
51 * Added `returnSelf()` to ease the stubbing and mocking of fluent interfaces.
76816b0 @sebastianbergmann Add an option to disable the check for object identity in assertConta…
authored
52 * Added an option to disable the check for object identity in `assertContains()` and related methods.
a131f62 @sebastianbergmann Update ChangeLog.
authored
53 * Implemented comparator framework (used by `assertEquals()`, for instance) and improved test failure output.
cd097b7 @sebastianbergmann Cleanup.
authored
54 * Implemented #63: Invalid `@covers` annotations should produce a test error instead of aborting PHPUnit.
55 * Implemented #82: Test Skeleton Generator should create `@covers` annotations.
56 * Implemented #83: Test errors and failures as well as incomplete and skipped tests now get coloured letters in the test progress.
57 * Implemented #88: `@expectedException` (and `setExpectedException()`) no longer accept `Exception` as the expected exception class.
58 * Implemented #126: Show used configuration file.
59 * Implemented #189: Add `@requires` annotation to specify the version of PHP and/or PHPUnit required to run a test.
e08e7fd @sebastianbergmann Move changes to ChangeLog.markdown and some basic information to READ…
authored
60 * `assertEquals()` now looks for (and invokes) a `__toString()` method when an object and string are compared.
97abde5 @sebastianbergmann Update ChangeLog.
authored
61 * `setUpBeforeClass()` and `tearDownAfterClass()` are no longer invoked when all tests of the class are skipped.
092a725 @sebastianbergmann Initial work on @small, @medium, @large.
authored
62 * Using the `@small` (alias for `@group small`), `@medium` (alias for `@group medium`), and `@large` (alias for `@group large`) annotations, a test can now be marked to be of a certain size. By default, a test is "small".
63 * A test must not `@depend` on a test that is larger than itself.
fc81ff8 @sebastianbergmann Add note about PHP_Invoker and ext/pcntl.
authored
64 * In strict mode, the execution of a small test is (by default) aborted after 1 second (when the `PHP_Invoker` package is installed and the `pcntl` extension is available).
65 * In strict mode, the execution of a medium test is (by default) aborted after 10 seconds (when the `PHP_Invoker` package is installed and the `pcntl` extension is available).
66 * In strict mode, the execution of a large test is (by default) aborted after 60 seconds (when the `PHP_Invoker` package is installed and the `pcntl` extension is available).
6d83db5 @sebastianbergmann Strict Mode: Fail tests that print output.
authored
67 * In strict mode, a test must not print any output.
68 * Any output made by a test is now "swallowed".
e08e7fd @sebastianbergmann Move changes to ChangeLog.markdown and some basic information to READ…
authored
69 * `@ticket` is now an alias for `@group`.
92547e6 @sebastianbergmann Implement configuration of printer.
authored
70 * Added `--printer` to specify a class (that extends `PHPUnit_Util_Printer` and implements `PHPUnit_Framework_TestListener`) to print test runner output.
97abde5 @sebastianbergmann Update ChangeLog.
authored
71 * Added `-h` as alias for `--help` and `-c` as alias for `--configuration`.
63dcc47 @sebastianbergmann Close #145.
authored
72 * Added an option to disable the caching of `PHP_Token_Stream` objects during code coverage report generation to reduce the memory usage.
732d213 @sebastianbergmann Remove assertType() and assertNotType() as well as assertAttributeTyp…
authored
73 * `assertType()` and `assertNotType()` as well as `assertAttributeType()` and `assertAttributeNotType()` have been removed. `assertInternalType()` should be used for asserting internal types such as `integer` or `string` whereas `assertInstanceOf()` should be used for asserting that an object is an instance of a specified class or interface.
c412189 @sebastianbergmann Leftover.
authored
74 * The `PHPUnit_Extensions_OutputTestCase` functionality has been merged into `PHPUnit_Framework_TestCase`.
ed63176 @sebastianbergmann Move PHPUnit_Util_Log_DBUS and PHPUnit_Util_Log_XHProf to separate pa…
authored
75 * The `PHPUnit_Extensions_Story_TestCase` functionality has been moved to a separate package (`PHPUnit_Story`).
76 * The `PHPUnit_Util_Log_DBUS` functionality has been moved to a separate package (`PHPUnit_TestListener_DBUS`).
77 * The `PHPUnit_Util_Log_XHProf` functionality has been moved to a separate package (`PHPUnit_TestListener_XHProf`).
a0276a9 @sebastianbergmann Remove the `--wait` functionality.
authored
78 * The `--wait` functionality has been removed.
e08e7fd @sebastianbergmann Move changes to ChangeLog.markdown and some basic information to READ…
authored
79 * The syntax check functionality has been removed.
5d0098a @sebastianbergmann Update ChangeLog.
authored
80 * The XML configuration file is now the only way to configure the blacklist and whitelist for code coverage reporting.
Something went wrong with that request. Please try again.