Skip to content

Tests before deploy #287

@leandrogehlen

Description

@leandrogehlen

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) );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions