Skip to content

Commit 55f9aab

Browse files
committed
Create a single PHPUnit testsuite for Infection
1 parent 9c5d39f commit 55f9aab

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

infection.json5.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"source": {
77
"directories": [
88
"src/ChangeDetector",
9-
"src/TypedMap"
9+
"src/Type",
10+
"src/TypedMap",
1011
]
1112
},
1213
"logs": {
@@ -21,5 +22,5 @@
2122
"@default": true,
2223
"CastInt": false, // Usually covered by Psalm
2324
},
24-
"testFrameworkOptions": "--testsuite=ChangeDetector,TypedMap"
25+
"testFrameworkOptions": "--testsuite=infection"
2526
}

phpunit.xml.dist

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,9 @@
2424
<file>tests/Reflection/Internal/NativeAdapter/AdapterCompatibilityTest.php</file>
2525
</testsuite>
2626

27-
<testsuite name="ChangeDetector">
27+
<testsuite name="infection">
2828
<directory>tests/ChangeDetector</directory>
29-
</testsuite>
30-
31-
<testsuite name="Type">
32-
<directory>tests/Type</directory>
33-
</testsuite>
34-
35-
<testsuite name="TypedMap">
29+
<file>tests/Type/Visitor/TypeResolversTest.php</file>
3630
<directory>tests/TypedMap</directory>
3731
</testsuite>
3832
</testsuites>

0 commit comments

Comments
 (0)