PHP code example of herrera-io / phpunit-test-case
1. Go to this page and download the library: Download herrera-io/phpunit-test-case library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
herrera-io / phpunit-test-case example snippets
class MyTestCase extends Herrera\PHPUnit\TestCase
{
// my tests
}
class MyTestCase extends My\Own\Custom\TestCase
{
use Herrera\PHPUnit\Extras;
// my tests
}