Skip to content

Commit

Permalink
Document <extensions> and <extension> elements
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 13, 2019
1 parent 037f53c commit 3e05eb0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,28 @@ The XML configuration above corresponds to attaching the
deprecated and will be removed in the future. TestRunner extensions
should be used instead of test listeners.

.. _appendixes.configuration.phpunit.extensions:

The ``<extensions>`` Element
############################

Parent element: ``<phpunit>``

The ``<extensions>`` element and its ``<extension>`` children can be used to register test runner extensions.

.. _appendixes.configuration.phpunit.extensions.extension:

The ``<extension>`` Element
---------------------------

Parent element: ``<extensions>``

.. code-block:: xml
<extensions>
<extension class="Vendor\MyExtension"/>
</extensions>
.. _appendixes.configuration.phpunit.logging:

The ``<logging>`` Element
Expand Down

0 comments on commit 3e05eb0

Please sign in to comment.