for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SmartWeb\ModuleTesting\Codeception\Generator;
/**
* Class IntegrationCest
*
* @package SmartWeb\ModuleTesting\Codeception\Generator
*/
class IntegrationCest extends BaseGenerator
{
* @var string
protected $testsDir;
* UnitTest constructor.
* @param array $settings
* @param string $name
public function __construct(array $settings, string $name)
parent::__construct('Integration', 'cest.integration');
$this->settings = $settings;
$this->name = $name;
$this->settings['actor'] = 'tester';
$this->settings['actorClassShort'] = $this->getShortClassName($this->settings['actorClass']);
$this->settings['namespace'] = $this->getNamespaceForTest();
$this->settings['name'] = $this->getShortClassName($this->name);
$this->settings['baseClassShort'] = $this->getShortClassName($this->settings['baseClass']);
}