Skip to content

Commit fda84f0

Browse files
committed
Refactored tests to be simpler
1 parent e85f5f8 commit fda84f0

20 files changed

+12
-15
lines changed

composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@
55
"keywords": ["phpdoc", "reflection"],
66
"license": "MIT",
77
"autoload": {
8-
"psr-0": {
9-
"PhpDocReader": "src/",
10-
"UnitTest": "tests/"
8+
"psr-4": {
9+
"PhpDocReader\\": "src/PhpDocReader"
10+
}
11+
},
12+
"autoload-dev": {
13+
"psr-4": {
14+
"UnitTest\\PhpDocReader\\": "tests/"
1115
}
1216
},
1317
"require": {
1418
"php": ">=5.3.0",
1519
"doctrine/annotations": "1.*"
20+
},
21+
"require-dev": {
22+
"phpunit/phpunit": "~4.6"
1623
}
1724
}

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
processIsolation="false"
99
stopOnFailure="false"
1010
syntaxCheck="false"
11-
bootstrap="./tests/bootstrap.php">
11+
bootstrap="./vendor/autoload.php">
1212

1313
<testsuites>
1414
<testsuite name="PhpDocReader tests">
15-
<directory>./tests/UnitTest/PhpDocReader/</directory>
15+
<directory>./tests/</directory>
1616
</testsuite>
1717
</testsuites>
1818

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)