@@ -6,7 +6,8 @@ The PHPUnit Bridge
6
6
==================
7
7
8
8
The PHPUnit Bridge provides utilities to report legacy tests and usage of
9
- deprecated code and a helper for time-sensitive tests.
9
+ deprecated code and helpers for mocking native functions related to time,
10
+ DNS and class existence.
10
11
11
12
It comes with the following features:
12
13
@@ -19,10 +20,13 @@ It comes with the following features:
19
20
20
21
* Displays the stack trace of a deprecation on-demand;
21
22
22
- * Provides a ``ClockMock `` and ``DnsMock `` helper classes for time or network-sensitive tests.
23
+ * Provides a ``ClockMock ``, ``DnsMock `` and ``ClassExistsMock `` classes for tests
24
+ sensitive to time, network or class existence.
23
25
24
- * Provides a modified version of PHPUnit that does not embed ``symfony/yaml `` nor
25
- ``prophecy `` to prevent any conflicts with these dependencies.
26
+ * Provides a modified version of PHPUnit that allows 1. separating the
27
+ dependencies of your app from those of phpunit to prevent any unwanted
28
+ constraints to apply; 2. running tests in parallel when a test suite is split
29
+ in several phpunit.xml files; 3. recording and replaying skipped tests.
26
30
27
31
Installation
28
32
------------
@@ -622,8 +626,8 @@ Modified PHPUnit script
622
626
This bridge provides a modified version of PHPUnit that you can call by using
623
627
its ``bin/simple-phpunit `` command. It has the following features:
624
628
625
- * Does not embed `` symfony/yaml `` nor `` prophecy `` to prevent any conflicts with
626
- these dependencies;
629
+ * Works with a standalone vendor directory that doesn't conflict with yours;
630
+ * Does not embed `` prophecy `` to prevent any conflicts with its dependencies;
627
631
* Uses PHPUnit 4.8 when run with PHP <=5.5, PHPUnit 5.7 when run with PHP >=5.6
628
632
and PHPUnit 6.5 when run with PHP >=7.2;
629
633
* Collects and replays skipped tests when the ``SYMFONY_PHPUNIT_SKIPPED_TESTS ``
0 commit comments