PHP code example of testo / bridge-mockery
1. Go to this page and download the library: Download testo/bridge-mockery 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/ */
testo / bridge-mockery example snippets
// testo.php
use Testo\Application\Config\ApplicationConfig;
use Testo\Application\Config\SuiteConfig;
use Testo\Bridge\Mockery\MockeryPlugin;
return new ApplicationConfig(
plugins: [new MockeryPlugin()],
suites: [new SuiteConfig(name: 'Unit', location: ['tests/Unit'])],
);