Skip to content

Commit

Permalink
Tweak test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmccreary committed Aug 25, 2023
1 parent 4fd16a0 commit c0b5eb9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
3 changes: 2 additions & 1 deletion composer-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"Tests\\": "tests/"
},
"exclude-from-classmap": [
"tests/fixtures/"
"tests/fixtures",
"tests/snapshots"
]
},
"config": {
Expand Down
25 changes: 14 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage/>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
</source>
<testsuites>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage/>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
</source>
<php>
<const name="RUNNING_TESTS" value="true"/>
</php>
</phpunit>

0 comments on commit c0b5eb9

Please sign in to comment.