| 1 |
<!-- |
| 2 |
PHPUnit is a programmer-oriented testing framework for PHP. |
| 3 |
https://phpunit.de/ |
| 4 |
|
| 5 |
Unit tests are based on PHPUnit 6 |
| 6 |
https://phpunit.de/announcements/phpunit-6.html |
| 7 |
--> |
| 8 |
<phpunit |
| 9 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 |
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd" |
| 11 |
colors="true" |
| 12 |
processIsolation="false" |
| 13 |
timeoutForSmallTests="1" |
| 14 |
timeoutForMediumTests="1" |
| 15 |
timeoutForLargeTests="6" > |
| 16 |
|
| 17 |
<testsuites> |
| 18 |
<testsuite name="standard"> |
| 19 |
<directory suffix='_test.php'>tests</directory> |
| 20 |
<exclude>tests/memory_parsing_test.php</exclude> |
| 21 |
<exclude>tests/entity_decoding_test.php</exclude> |
| 22 |
</testsuite> |
| 23 |
<testsuite name="memory"> |
| 24 |
<file>tests/memory_parsing_test.php</file> |
| 25 |
</testsuite> |
| 26 |
<testsuite name="entity_decoding"> |
| 27 |
<file>tests/entity_decoding_test.php</file> |
| 28 |
</testsuite> |
| 29 |
</testsuites> |
| 30 |
|
| 31 |
<filter> |
| 32 |
<whitelist> |
| 33 |
<directory>simple_html_dom.php</directory> |
| 34 |
<directory>HtmlDocument.php</directory> |
| 35 |
<directory>HtmlNode.php</directory> |
| 36 |
<directory>HtmlWeb.php</directory> |
| 37 |
<directory>Debug.php</directory> |
| 38 |
</whitelist> |
| 39 |
</filter> |
| 40 |
|
| 41 |
</phpunit> |
| 42 |
|