protected function createAcceptanceSuite( $actor = 'Acceptance' ) {
		$suiteConfig = array(
			'class_name' => $actor . $this->actorSuffix,
			'modules'    => array(
				'enabled' => array( 
					'WebDriver',
					'WordPress',
					"{$actor}Helper",
				),
				'config'  => array(
					'WebDriver' => array(
						'browser' => 'phantomjs',
					),
				),
			),
		);

		$str  = "# Codeception Test Suite Configuration\n\n";
		$str .= "# suite for acceptance tests.\n";
		$str .= "# perform tests in browser using the WebDriver or PhpBrowser.\n";
		$str .= "# If you need both WebDriver and PHPBrowser tests - create a separate suite.\n\n";

		$str .= Yaml::dump( $suiteConfig, 5 );
		$this->createSuite( 'acceptance', $actor, $str );
	}
protected function createAcceptanceSuite( $actor = 'Acceptance' ) {
		$suiteConfig = array(
			'class_name' => $actor . $this->actorSuffix,
			'modules'    => array(
				'enabled' => array( 
					'WebDriver',
					'WordPress',
					"{$actor}Helper",
				),
				'config'  => array(
					'WebDriver' => array(
						'browser' => 'phantomjs',
					),
				),
			),
		);

		$str  = "# Codeception Test Suite Configuration\n\n";
		$str .= "# suite for acceptance tests.\n";
		$str .= "# perform tests in browser using the WebDriver or PhpBrowser.\n";
		$str .= "# If you need both WebDriver and PHPBrowser tests - create a separate suite.\n\n";

		$str .= Yaml::dump( $suiteConfig, 5 );
		$this->createSuite( 'acceptance', $actor, $str );
	}
protected function createAcceptanceSuite ( $ actor = 'Acceptance' ) { $ suiteConfig = array ( 'class_name' => $ actor . $ this -> actorSuffix , 'modules' => array ( 'enabled' => array ( 'WebDriver' , 'WordPress' , "{$actor}Helper" , ) , 'config' => array ( 'WebDriver' => array ( 'browser' => 'phantomjs' , ) , ) , ) , ) ; $ str = "# Codeception Test Suite Configuration\n\n" ; $ str .= "# suite for acceptance tests.\n" ; $ str .= "# perform tests in browser using the WebDriver or PhpBrowser.\n" ; $ str .= "# If you need both WebDriver and PHPBrowser tests - create a separate suite.\n\n" ; $ str .= Yaml :: dump ( $ suiteConfig , 5 ) ; $ this -> createSuite ( 'acceptance' , $ actor , $ str ) ; }
Creates acceptance suite.

@since 1.0.0

@access protected
@param string $actor The actor name.
Creates acceptance suite .