php-mpos/tests
2014-03-01 17:56:23 -07:00
..
unit Various Fixes 2014-03-01 17:56:23 -07:00
bootstrap.php Various Fixes 2014-03-01 17:56:23 -07:00
config.dist.php Various Fixes 2014-03-01 17:56:23 -07:00
config.php Various Fixes 2014-03-01 17:56:23 -07:00
phpunit.xml Various Fixes 2014-03-01 17:56:23 -07:00
README.md Various Fixes 2014-03-01 17:56:23 -07:00

How to run these tests

How to add tests

  • Add unit tests to the matching folder/file.php or create a new one
  • Add any new suites to the phpunit.xml file
  • Below is the suite entry for the sample test in unit/config/SampleTest.php
<testsuite name="SampleTest">
  <directory>unit/config</directory>
</testsuite>