for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* EmptyTest.php
*
* This file contains the most barebone class that does
* not do anything.
* PHP version 7.4
* @category Examples
* @package RedboxTestSuite
* @author Johnny Mast <[email protected]>
* @license https://opensource.org/licenses/MIT MIT
* @link https://github.com/johnnymast/redbox-testsuite
* @since 1.0
*/
require __DIR__ . '/../vendor/autoload.php';
use Redbox\Testsuite\Interfaces\ContainerInterface;
use Redbox\Testsuite\TestCase;
use Redbox\Testsuite\TestSuite;
* Class EmptyTest.
class EmptyTest extends TestCase
{
* Tell the TestCase what the
* min reachable score is.
* @var int
protected int $minscore = 0;
* max reachable score is.
protected int $maxscore = 10;
* Run the test.
* @param ContainerInterface $container The storage container for the TestSuite.
* @return void
public function run(ContainerInterface $container)
// Nothing here yet
}
$suite = new TestSuite();
$suite->attach(EmptyTest::class)
->run();