php-mpos/tests
2014-01-20 04:29:45 -05:00
..
unit/config fixed test harness 2014-01-20 04:29:45 -05:00
phpunit.xml PHPUnit test harness & sample test 2014-01-20 04:29:45 -05:00
README.md fixed test harness 2014-01-20 04:29:45 -05: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>