PHP Class Zizaco\TestCases\IntegrationTestCase

Inheritance: extends TestCase
Show file Open project: zizaco/testcases-laravel Class Usage Examples

Public Properties

Property Type Description
$browser

Protected Properties

Property Type Description
$loadedBrowser
$seleniumLaunched
$seleniumOptions
$serverLaunched

Public Methods

Method Description
assertBodyHasHtml ( $needle )
assertBodyHasNotHtml ( $needle )
assertBodyHasNotText ( $needle )
assertBodyHasText ( $needle )
assertElementHasNotText ( $locator, $needle )
assertElementHasText ( $locator, $needle )
assertLocation ( $location )
setSeleniumOptions ( $options )
setUp ( )
setUpBeforeClass ( )
tearDownAfterClass ( )

Protected Methods

Method Description
killSelenium ( )
killServer ( )
launchSelenium ( )
launchServer ( )
startBrowser ( )

Private Methods

Method Description
execAsync ( $command, $output_path = '/dev/null' )
execAsyncAndWaitFor ( $command, $content, $timeout = 30 )
killProcessByPort ( $port )
waitForOutput ( $file, $output )

Method Details

assertBodyHasHtml() public method

public assertBodyHasHtml ( $needle )

assertBodyHasNotHtml() public method

public assertBodyHasNotHtml ( $needle )

assertBodyHasNotText() public method

public assertBodyHasNotText ( $needle )

assertBodyHasText() public method

public assertBodyHasText ( $needle )

assertElementHasNotText() public method

public assertElementHasNotText ( $locator, $needle )

assertElementHasText() public method

public assertElementHasText ( $locator, $needle )

assertLocation() public method

public assertLocation ( $location )

killSelenium() protected static method

protected static killSelenium ( )

killServer() protected static method

protected static killServer ( )

launchSelenium() protected static method

protected static launchSelenium ( )

launchServer() protected static method

protected static launchServer ( )

setSeleniumOptions() public static method

public static setSeleniumOptions ( $options )

setUp() public method

public setUp ( )

setUpBeforeClass() public static method

public static setUpBeforeClass ( )

startBrowser() protected method

protected startBrowser ( )

tearDownAfterClass() public static method

public static tearDownAfterClass ( )

Property Details

$browser public property

public $browser

$loadedBrowser protected static property

protected static $loadedBrowser

$seleniumLaunched protected static property

protected static $seleniumLaunched

$seleniumOptions protected static property

protected static $seleniumOptions

$serverLaunched protected static property

protected static $serverLaunched