<?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%3A14.2</id>
	<title>PHPUnitManual:14.2 - 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%3A14.2"/>
	<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=PHPUnitManual:14.2&amp;action=history"/>
	<updated>2026-05-01T18:58:01Z</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:14.2&amp;diff=3428&amp;oldid=prev</id>
		<title>Onionmixer: PHPUnit 14.2 Code Block 의 무시 페이지 추가</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=PHPUnitManual:14.2&amp;diff=3428&amp;oldid=prev"/>
		<updated>2013-07-04T09:12:18Z</updated>

		<summary type="html">&lt;p&gt;PHPUnit 14.2 Code Block 의 무시 페이지 추가&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;;14.2 Code Block 의 무시&lt;br /&gt;
&lt;br /&gt;
때로는 테스트할 수 없기 때문에 Code coverage 분석을 하는 동안 무시하고 싶은 코드 블럭이 있을 수 있습니다. PHPUnit 에서는 이를 위해서 @codeCoverageIgnore, @codeCoverageIgnoreStart 그리고 @codeCoverageIgnoreEnd 선언을 제공합니다. 사용 방법의 예가 예14.4 &amp;quot;@codeCoverageIgnore, @codeCoverageIgnoreStart 그리고 @codeCoverageIgnoreEnd 선언의 사용법&amp;quot; 에 나와 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
예14.4 @codeCoverageIgnore, @codeCoverageIgnoreStart 그리고 @codeCoverageIgnoreEnd 선언의 사용법&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;
/**&lt;br /&gt;
 * @codeCoverageIgnore&lt;br /&gt;
 */&lt;br /&gt;
class Foo&lt;br /&gt;
{&lt;br /&gt;
    public function bar()&lt;br /&gt;
    {&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
class Bar&lt;br /&gt;
{&lt;br /&gt;
    /**&lt;br /&gt;
     * @codeCoverageIgnore&lt;br /&gt;
     */&lt;br /&gt;
    public function foo()&lt;br /&gt;
    {&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
if (FALSE) {&lt;br /&gt;
    // @codeCoverageIgnoreStart&lt;br /&gt;
    print &amp;#039;*&amp;#039;;&lt;br /&gt;
    // @codeCoverageIgnoreEnd&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
이 선언들을 사용하여, 무시하도록 지정된 행은, (실행되지 않더라도) 실행된 것으로 간주되어 강조 표시되지 않습니다.&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>