Created
December 21, 2011 15:34
-
-
Save testingbot/1506442 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ExampleTest extends PHPUnit_Extensions_TestingBotTestCase | |
{ | |
public static $browsers = array( | |
array( | |
'name' => "Windows firefox 8", | |
'platform' => 'Windows', | |
'browser' => 'firefox', | |
'browserVersion' => '8' | |
), | |
array( | |
'name' => "Windows firefox 7", | |
'platform' => 'Windows', | |
'browser' => 'firefox', | |
'browserVersion' => '7' | |
), | |
); | |
protected function setUp() | |
{ | |
$this->setHost('hub.testingbot.com'); | |
$this->setPort(4444); | |
$this->setBrowserUrl('http://www.google.be/'); | |
} | |
public function testTitle() | |
{ | |
$this->open('/'); | |
$this->assertTitle('Google'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment