PHP Class Elcodi\Bridge\BehatBridgeBundle\DoctrineContext

Inheritance: extends Elcodi\Bridge\BehatBridgeBundle\Abstracts\AbstractElcodiContext
Mostra file Open project: elcodi/bamboo

Protected Properties

Property Type Description
$debug boolean Debug mode

Public Methods

Method Description
cleanDB ( Behat\Behat\Hook\Scope\AfterScenarioScope $scope )
prepare ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope )
prepareSuite ( Behat\Testwork\Hook\Scope\BeforeSuiteScope $scope ) Prepare suite

Private Methods

Method Description
checkDoctrineConnection ( ) Check the doctrine connection
executeCommand ( string $command, array $parameters = [] ) Execute a command
loadCommonFixtures ( ) Load common fixtures
loadLocationFixtures ( ) Load location fixtures

Method Details

cleanDB() public method

public cleanDB ( Behat\Behat\Hook\Scope\AfterScenarioScope $scope )
$scope Behat\Behat\Hook\Scope\AfterScenarioScope

prepare() public method

public prepare ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope )
$scope Behat\Behat\Hook\Scope\BeforeScenarioScope

prepareSuite() public method

Prepare suite
public prepareSuite ( Behat\Testwork\Hook\Scope\BeforeSuiteScope $scope )
$scope Behat\Testwork\Hook\Scope\BeforeSuiteScope

Property Details

$debug protected_oe property

Debug mode
protected bool $debug
return boolean