PHP code example of hoa / test

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

    

hoa / test example snippets


namespace Hoa\Foo\Test\Unit;

class Bar extends \Hoa\Test\Unit\Suite
{
    public function caseBaz()
    {
        $this->integer(7 * 3 * 2)->isEqualTo(42);
    }
}

namespace Hoa\Foo;

class Baz
{
    /**
     * @lic function qux()
    {
        // …
    }
}