for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SmartWeb\ModuleTesting;
use Codeception\Scenario;
use Illuminate\Support\Facades\Storage;
use Mockery;
use SmartWeb\ModuleTesting\Util\UsesDisk;
/**
* Class BaseIntegrationCest
*
* @package SmartWeb\ModuleTesting
*/
abstract class BaseIntegrationCest extends BaseCodeceptionCest
{
use UsesDisk;
* @inheritDoc
public function _beforeSuite(array $settings = [])
parent::_beforeSuite($settings);
Storage::fake(static::$disk);
}
public function _before(Scenario $S)
$this->scenario = $S;
$this->backupItems();
public function _after(Scenario $S)
$S
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->restoreItems();
Mockery::close();
public function _failed($fail)
$fail
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.