Added some tests
Close to 65% coverage, just went for the low hanging fruit, mostly happy path.
This commit is contained in:
parent
a0de82967e
commit
13a407afa8
6 changed files with 79 additions and 0 deletions
22
tests/phpunit.xml
Normal file
22
tests/phpunit.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
|
||||
bootstrap="bootstrap.php"
|
||||
colors="true"
|
||||
strict="true"
|
||||
verbose="true"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Are You A Human? Tests">
|
||||
<directory>./</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<logging>
|
||||
<log
|
||||
type="coverage-html"
|
||||
target="/tmp/php-ayah"
|
||||
charset="UTF-8"
|
||||
highlight="true"
|
||||
/>
|
||||
</logging>
|
||||
</phpunit>
|
Loading…
Add table
Add a link
Reference in a new issue