Created
December 22, 2011 23:39
-
-
Save iangreenleaf/1512348 to your computer and use it in GitHub Desktop.
Rough tests for tap_out
This file contains 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
# ruby -Ilib php_test.rb | |
require 'test/phpunit' | |
require 'test/unit' | |
class PHPTest < Test::Unit::TestCase | |
extend Test::PHPUnit | |
phpunit "test.php" | |
end |
This file contains 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 ValidationFunctionsTest extends PHPUnit_Framework_TestCase { | |
public function testOne() { | |
$this->assertTrue( true ); | |
} | |
public function testTwo() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test3() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test4() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test5() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test6() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test7() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test8() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test9() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test10() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test11() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
public function test12() { | |
sleep(5); | |
$this->assertTrue( false ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment