Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 676 Bytes
// Do any setup stuff specific to your test suite here, e.g. setting up include
// paths, establish database connections.
// Here's the testing mojo ->
// adjust this to point to wherever ztest is located
require '../ztest.php';
$suite = new ztest\TestSuite("My application's unit tests");
// Recursively scan the 'test' directory and require() all PHP source files
// Add non-abstract subclasses of ztest\TestCase as test-cases to be run
// Create a reporter and enable color output
$reporter = new ztest\ConsoleReporter;
// Go, go, go
Jump to Line
Something went wrong with that request. Please try again.