What is K3-SimpleTest
It is an alternative unit testing module for the Kohana 3 framework.
Using K3-SimpleTest is easy!
1) Write A Unit Test
By convention, these would live at application/tests/unit/[name.php].
All of the assertions from SimpleTest are available to use.
For an example, look at tests/unit/example.php in this package.
If you name your test method with underscores for spaces (like: test_Validates_Start_Is_Before_Or_Same_As_End) the HTML test reporter will convert those underscores into spaces, and lop off the "test" at the beginning (like: Validates Start Is Before Or Same As End)
2) Setup Config
Copy config/simpletest.php.example to application/config/simpletest.php and add the paths to your tests, grouping however you would like.
3) Run The Tests
To run the tests, you can either go to /simpletest/all in a browser, or run them from the command line:
php index.php --uri="/simpletest/all"
K3-SimpleTest is licensed under MIT.
SimpleTest (included in vendor/simpletest for your convenience) is licensed under the GPL