I use in my application, Is there any way for run this tests before deploy?
Currently, i run manually this tests with following script
$app = new Application('Codeception', Codecept::VERSION);
$app->setAutoExit(false);
$app->add(new Build('build'));
$app->add(new Run('run'));
$app->run(new ArrayInput( array('build') ));
$test = (isset($opts['t'])) ? $opts['t'] : '';
$coverage = (isset($opts['c'])) ? ' --coverage-html --coverage-xml' : '';
$app->run(new StringInput( 'run unit ' . $test . ' ' . $coverage) );
I use in my application, Is there any way for run this tests before deploy?
Currently, i run manually this tests with following script