php-mpos/tests
xisi 568445845a changes DEBUG SALT and SALTY from defines to variables
switched that in all places used (class loads mostly)
moved all includes at the beginning of index into bootstrap
moves *_PATH defines from config to bootstrap
config now uses defaults first, then user config
2014-01-29 07:34:50 -05:00
..
unit changes DEBUG SALT and SALTY from defines to variables 2014-01-29 07:34:50 -05:00
bootstrap.php pushing to start core rebuild 2014-01-28 06:18:57 -05:00
config.dist.php just pushing so I can rebase zzz 2014-01-28 06:18:57 -05:00
config.php pushing to start core rebuild 2014-01-28 06:18:57 -05:00
phpunit.xml pushing to start core rebuild 2014-01-28 06:18:57 -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>