PHP code example of nekofar / slim-test

1. Go to this page and download the library: Download nekofar/slim-test 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/ */

    

nekofar / slim-test example snippets


use Nekofar\Slim\Test\Traits\AppTestTrait;
use PHPUnit\Framework\TestCase as BaseTestCase;

class TestCase extends BaseTestCase 
{
    use AppTestTrait;
    
    protected function setUp(): void
    {
        $app =