<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>PHPUnit 自定 TestSuite 輸出樣式，輸出為 HTML 網頁</title>
<link>http://blog.roodo.com/rocksaying/archives/5829661.html/</link>
<description><![CDATA[Tags: phpunit tdd

PHPUnit 預置了一個純文字型式的 TextUI Runner，在大多數情形下，它足夠應付我們的需求。不過，當我想要把 TestSuite 放到專案網頁上，讓小組成員 - 特別是 PM - 可以上網查看立即的測試結果時，那個文字型式的 TextUI Runner 就顯得太簡略了。至少要把測試工作及結果輸出成 HTML 的條列式清單，最好還加上顏色區別成功或失敗。


所幸 PHPUnit 提供了良好的擴充性，要自定一個可以將測試內容輸出為 HTML 網頁的 HTML Runner 相當簡單。

]]>
	</description>
<language>zh-tw</language>
<generator>Roodo Blog System</generator>
<copyright>All Rights Reserved</copyright>
<atom:link href="http://blog.roodo.com/rocksaying/archives/5829661-comment.xml" rel="self" type="application/rss+xml" />
<item>
	<title>回應：PHPUnit 自定 TestSuite 輸出樣式，輸出為 HTML 網頁</title>
	<description><![CDATA[我記得 SimpleTest 有一個 HtmlReporter 的類別可以用來輸出 HTML 報表，或許找一下 PHPUnit 裡面搞不好也許也有～]]>
	</description>
	<link>http://blog.roodo.com/rocksaying/archives/5829661.html</link>
	<guid>http://blog.roodo.com/rocksaying/archives/5829661.html#comment-16180631</guid>
	<author>HACGIS@gmail.com(tokimeki)</author>	<category>文章回應</category>
	<pubDate>Tue, 08 Apr 2008 17:52:27 +0800</pubDate>
</item>
</channel>
</rss>