Skip to content

Instantly share code, notes, and snippets.

@simkimsia
Created November 16, 2013 06:23
Show Gist options
  • Select an option

  • Save simkimsia/7496641 to your computer and use it in GitHub Desktop.

Select an option

Save simkimsia/7496641 to your computer and use it in GitHub Desktop.
An example of the template in https://gist.github.com/simkimsia/7496569
<?php
/**
* AllSuperDuperMakeUnicornsTest test suite file
*
* will run ALL the tests for this CakePHP Plugin
*
* Copyright 2013, Kim Stacks
* Singapore
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2013, Kim Stacks
* @link http://stacktogether.com
* @author Kim Stacks <kim@stacktogether.com>
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
* @package SuperDuperMakeUnicorns
* @subpackage SuperDuperMakeUnicorns.Test.Case
* @version 0.1.0
*/
class AllSuperDuperMakeUnicornsTest extends PHPUnit_Framework_TestSuite {
/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite() {
$suite = new CakeTestSuite('All SuperDuperMakeUnicorns test');
$suite->addTestDirectoryRecursive(App::pluginPath('SuperDuperMakeUnicorns') . 'Test' . DS . 'Case' . DS);
return $suite;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment