Skip to content

Commit 86f7e05

Browse files
author
Paul M. Jones
committed
restructure testing, and update support files
1 parent d2eb9eb commit 86f7e05

14 files changed

+9
-25
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ php:
44
- 5.5
55
- 5.6
66
- hhvm
7+
- 7
78
script:
8-
- phpunit -c tests/unit/ --coverage-clover=coverage.clover
9+
- phpunit --coverage-clover=coverage.clover
910
after_script:
1011
- wget https://scrutinizer-ci.com/ocular.phar
1112
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dispatchable objects from factories.
1010

1111
### Installation
1212

13-
This library requires PHP 5.4 or later, and has no userland dependencies.
13+
This library requires PHP 5.4 or later; we recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies.
1414

1515
It is installable and autoloadable via Composer as [aura/dispatcher](https://packagist.org/packages/aura/dispatcher).
1616

autoload.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@
66

77
// what prefixes should be recognized?
88
$prefixes = array(
9-
"{$ns}\_Config\\" => array(
10-
__DIR__ . '/config',
11-
__DIR__ . '/tests/container/src',
12-
),
139
"{$ns}\\" => array(
1410
__DIR__ . '/src',
15-
__DIR__ . '/tests/unit/src',
11+
__DIR__ . '/tests',
1612
),
1713
);
1814

phpunit.php

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
error_reporting(E_ALL);
3+
require __DIR__ . '/autoload.php';
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<phpunit bootstrap="./bootstrap.php">
1+
<phpunit bootstrap="./phpunit.php">
22
<testsuites>
33
<testsuite>
4-
<directory>./src/</directory>
4+
<directory>./tests</directory>
55
</testsuite>
66
</testsuites>
77
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/unit/bootstrap.php

-16
This file was deleted.

0 commit comments

Comments
 (0)