Skip to content

Commit 0fb1c9b

Browse files
committed
Add proper configuration for running the unit tests
Document my target of PHP 5.3 while I'm at it.
1 parent 6b47bd6 commit 0fb1c9b

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"classmap": ["src/"]
1717
},
1818
"require-dev": {
19-
"satooshi/php-coveralls": "dev-master"
19+
"phpunit/phpunit": "^4.8"
20+
},
21+
"require": {
22+
"php": ">5.3"
2023
}
2124
}

phpunit.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.1/phpunit.xsd"
4+
bootstrap="tests/bootstrap.php"
5+
backupGlobals="true"
6+
verbose="true"
7+
colors="true"
8+
>
9+
<testsuites>
10+
<testsuite name="SimpleXML Debug Tests">
11+
<directory>tests</directory>
12+
</testsuite>
13+
</testsuites>
14+
</phpunit>

0 commit comments

Comments
 (0)