Created
February 9, 2012 16:00
-
-
Save takuya/1780800 to your computer and use it in GitHub Desktop.
PHPのSimpleTestを使う最小限の例 ref: http://qiita.com/items/2286
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
require_once('simpletest/autorun.php’); | |
class Sample extends UnitTestCase{ | |
public function test_my_var(){ | |
$this->assertTrue( 1 == "1" ); | |
} | |
} | |
$t = new Sample(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment