<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://trans.onionmixer.net/wiki/index.php?action=history&amp;feed=atom&amp;title=PHPUnitManual%3A17.3</id>
	<title>PHPUnitManual:17.3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://trans.onionmixer.net/wiki/index.php?action=history&amp;feed=atom&amp;title=PHPUnitManual%3A17.3"/>
	<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=PHPUnitManual:17.3&amp;action=history"/>
	<updated>2026-05-02T07:19:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=PHPUnitManual:17.3&amp;diff=3441&amp;oldid=prev</id>
		<title>Onionmixer: PHPUnit 17.3 PHPUnit_Extensions_Selenium2TestCase 페이지 추가</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=PHPUnitManual:17.3&amp;diff=3441&amp;oldid=prev"/>
		<updated>2013-07-04T09:33:13Z</updated>

		<summary type="html">&lt;p&gt;PHPUnit 17.3 PHPUnit_Extensions_Selenium2TestCase 페이지 추가&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;;17.3 PHPUnit_Extensions_Selenium2TestCase&lt;br /&gt;
&lt;br /&gt;
PHPUnit_Extensions_Selenium2TestCase test case 는 WebDriver API 를 사용합니다 (일부만이 구현되어 있습니다).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
예17.1 &amp;quot;PHPUnit_Extensions_Selenium2TestCase 의 사용예&amp;quot; 는, http://www.example.com/ 의 &amp;lt;title&amp;gt; element 의 내용을 테스트하는 방법입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
예17.1 PHPUnit_Extensions_Selenium2TestCase 의 사용예&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
class WebTest extends PHPUnit_Extensions_Selenium2TestCase&lt;br /&gt;
{&lt;br /&gt;
    protected function setUp()&lt;br /&gt;
    {&lt;br /&gt;
        $this-&amp;gt;setBrowser(&amp;#039;firefox&amp;#039;);&lt;br /&gt;
        $this-&amp;gt;setBrowserUrl(&amp;#039;http://www.example.com/&amp;#039;);&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    public function testTitle()&lt;br /&gt;
    {&lt;br /&gt;
        $this-&amp;gt;url(&amp;#039;http://www.example.com/&amp;#039;);&lt;br /&gt;
        $this-&amp;gt;assertEquals(&amp;#039;Example WWW Page&amp;#039;, $this-&amp;gt;title());&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
phpunit WebTest&lt;br /&gt;
PHPUnit 3.6.10 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
F&lt;br /&gt;
&lt;br /&gt;
Time: 28 seconds, Memory: 3.00Mb&lt;br /&gt;
&lt;br /&gt;
There was 1 failure:&lt;br /&gt;
&lt;br /&gt;
1) WebTest::testTitle&lt;br /&gt;
Failed asserting that two strings are equal.&lt;br /&gt;
--- Expected&lt;br /&gt;
+++ Actual&lt;br /&gt;
@@ @@&lt;br /&gt;
-&amp;#039;Example WWW Page&amp;#039;&lt;br /&gt;
+&amp;#039;IANA — Example domains&amp;#039;&lt;br /&gt;
&lt;br /&gt;
/home/giorgio/WebTest.php:13&lt;br /&gt;
&lt;br /&gt;
FAILURES!&lt;br /&gt;
Tests: 1, Assertions: 1, Failures: 1.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Selenium2TestCare 는 __call() 을 사용하여 구현되어 있습니다. 지원가능목록은 PHPUnit_Extensions_Selenium2TestCase 의 end-to-end test[https://github.com/sebastianbergmann/phpunit-selenium/blob/master/Tests/Selenium2TestCaseTest.php] 를 참조하세요.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:PHPUnitManual]]&lt;/div&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
</feed>