PHP code example of aesonus / test-lib
1. Go to this page and download the library: Download aesonus/test-lib 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/ */
aesonus / test-lib example snippets
class TestCase extends Aesonus\TestLib\BaseTestCase
{
public function testCase() {
$this->assertArrayContainsValues($expected, $actual);
$this->assertArrayContainsAtLeastValues($expected, $actual);
}
}