Created
May 24, 2011 05:34
-
-
Save nojimage/988178 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
class Stagehand_TestRunner_CakeSkipTest extends CakeTestCase | |
{ | |
public function skip() | |
{ | |
$this->skipIf(true, 'This is an skip message.'); | |
} | |
public function testPass() | |
{ | |
$this->assertTrue(true); | |
} | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites> | |
<testsuite name="The test suite generated by Stagehand_TestRunner" tests="0" assertions="0" failures="0" errors="1" time="0.000000"> | |
<error>This is an skip message.</error> | |
</testsuite> | |
</testsuites> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
report.xml で、testsuiteの中にerrorが直接入ったXMLが構築されるためパースエラーとなる。