Commit d0688b90 authored by David Morley's avatar David Morley
Browse files

remove tests, been there years and never used or setup

parent 50d50e2f
language: php
- 7.0
before_script: "./phpunit/"
script: export DISPLAY=:99.0 && phpunit
<testsuite name="poduptime">
\ No newline at end of file
class RemoteConnect
public function connectToServer($serverName=null)
throw new Exception("That's not a server name!");
$fp = fsockopen($serverName,80);
return ($fp) ? true : false;
public function returnSampleObject()
return $this;
class RemoteConnectTest extends PHPUnit_Framework_TestCase
public function setUp(){ }
public function tearDown(){ }
public function testConnectionIsValid()
// test to ensure that the object from an fsockopen is valid
$connObj = new RemoteConnect();
$serverName = '';
$this->assertTrue($connObj->connectToServer($serverName) !== false);
sh -e /etc/init.d/xvfb start
#export DISPLAY=:99.0 && firefox -CreateProfile test
#export DISPLAY=:99.0 && sudo java -jar selenium-server-standalone-2.15.0.jar -firefoxProfileTemplate "./phpunit/knmqtcr7.test" &
#pyrus install phpunit/PHPUnit_Selenium
composer install
phpenv rehash
class CodeCoverageTest extends PHPUnit_Extensions_Selenium2TestCase
protected $coverageScriptUrl = 'http://localhost/phpunit_coverage.php';
public function setUp()
$this->markTestIncomplete('Would require PHP 5.4 for running .php files on the server');
public function testCoverageIsRetrieved()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment