forked from alchemy-fr/Imagine
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
41 lines (37 loc) · 1.86 KB
/
phpunit.xml.dist
File metadata and controls
41 lines (37 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
colors="true"
bootstrap="tests/bootstrap.php"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Imagine Test Suite">
<directory>./tests/Imagine/</directory>
<!--
PHPUnit by default recursively loads all PHP files in the test directory,
including abstract test classes.
Abstract test classes are meant to be extended, not executed directly.
If not excluded, PHPUnit will issue warnings like: "Class ... is abstract"
These warnings do not affect test correctness but cause a non-zero exit code (1),
which may be treated as a failure in CI pipelines or Composer scripts.
To prevent these unnecessary warnings and allow for clean test runs,
we explicitly exclude all abstract test classes here.
-->
<exclude>./tests/Imagine/Test/Draw/AbstractDrawerTest.php</exclude>
<exclude>./tests/Imagine/Test/Effects/AbstractEffectsTest.php</exclude>
<exclude>./tests/Imagine/Test/Image/AbstractImageTest.php</exclude>
<exclude>./tests/Imagine/Test/Image/AbstractImagineTest.php</exclude>
<exclude>./tests/Imagine/Test/Image/AbstractLayersTest.php</exclude>
<exclude>./tests/Imagine/Test/Image/Fill/Gradient/LinearTest.php</exclude>
<exclude>./tests/Imagine/Test/Image/Palette/AbstractPaletteTest.php</exclude>
<exclude>./tests/Imagine/Test/Image/Palette/Color/AbstractColorTest.php</exclude>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./lib/Imagine/</directory>
</include>
</source>
</phpunit>