This is an example of autoloading classes and including unit tests.
This commit is contained in:
parent
cf1f60e092
commit
dd6987ff02
7 changed files with 90 additions and 2 deletions
12
tests/phpunit.xml
Normal file
12
tests/phpunit.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<phpunit bootstrap="../autoload.php">
|
||||
<testsuites>
|
||||
<testsuite>
|
||||
<directory>unit/src</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory>../src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
Loading…
Add table
Add a link
Reference in a new issue