Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 5b45395

Browse files
committed
Switch to PHPUnit config file to define setup.
1 parent e40b0ae commit 5b45395

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,5 @@
2525
},
2626
"require-dev": {
2727
"phpunit/phpunit": "^7.0"
28-
},
29-
"scripts": {
30-
"test": "vendor/bin/phpunit --process-isolation --bootstrap vendor/autoload.php tests/FlexBridgeTest.php"
3128
}
3229
}

phpunit.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.0/phpunit.xsd"
4+
backupGlobals="true"
5+
backupStaticAttributes="false"
6+
bootstrap="vendor/autoload.php"
7+
colors="true"
8+
processIsolation="true"
9+
stopOnError="false"
10+
stopOnFailure="false"
11+
stopOnIncomplete="false"
12+
stopOnSkipped="false"
13+
stopOnRisky="false"
14+
timeoutForSmallTests="1"
15+
timeoutForMediumTests="10"
16+
timeoutForLargeTests="60"
17+
verbose="false">
18+
19+
<testsuites>
20+
<testsuite name="Flex Bridge">
21+
<directory>tests</directory>
22+
</testsuite>
23+
</testsuites>
24+
</phpunit>

0 commit comments

Comments
 (0)