<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>maonet technotes &#187; test</title>
	<atom:link href="http://maonet.wordpress.com/tag/test/feed/" rel="self" type="application/rss+xml" />
	<link>http://maonet.wordpress.com</link>
	<description>IOC(SM):MOC(RM):TDD(NU):SCC(TFS):ORM(L2S):JSL(Jq):CIS(CC)</description>
	<lastBuildDate>Thu, 31 Dec 2009 17:16:53 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='maonet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/27569a47b055d3d0ff1d52cf3b0ce0d7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>maonet technotes &#187; test</title>
		<link>http://maonet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://maonet.wordpress.com/osd.xml" title="maonet technotes" />
		<item>
		<title>PowerUnit?</title>
		<link>http://maonet.wordpress.com/2007/10/23/powerunit/</link>
		<comments>http://maonet.wordpress.com/2007/10/23/powerunit/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 19:55:11 +0000</pubDate>
		<dc:creator>Frank Mao</dc:creator>
				<category><![CDATA[powerbuilder]]></category>
		<category><![CDATA[cruisecontrol]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://maonet.wordpress.com/2007/10/23/powerunit/</guid>
		<description><![CDATA[Finally, I embeded pbunit&#8217;s test result into CruiseControl.net&#8217;s dashboard. I worked very hard to make this happen. Things I have done includes:

Changed PBUnit to generate xml report. (Using datawindow xml template, and xsl-stylesheet)
Changed PBUnit to accept command line to pass pb target file.
Changed PBUnit to loop through all the pbls and components to do automated [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maonet.wordpress.com&blog=431779&post=30&subd=maonet&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Finally, I embeded pbunit&#8217;s test result into CruiseControl.net&#8217;s dashboard. I worked very hard to make this happen. Things I have done includes:</p>
<ul>
<li>Changed PBUnit to generate xml report. (Using datawindow xml template, and xsl-stylesheet)</li>
<li>Changed PBUnit to accept command line to pass pb target file.</li>
<li>Changed PBUnit to loop through all the pbls and components to do automated test.</li>
<li>Fixed a bug in PBUnit of lib path containing space.</li>
<li>Created a xsl for PBUnit&#8217;s test result.</li>
</ul>
<p>After merging PBUnit&#8217;s test result into cc.net output, I can see my  work appear on web now.</p>
<p><a href="http://maonet.files.wordpress.com/2007/10/pbunit_result_in_ccnet.jpg" title="pbunit_result_in_ccnet.jpg"><img src="http://maonet.files.wordpress.com/2007/10/pbunit_result_in_ccnet.jpg?w=523&#038;h=291" alt="pbunit_result_in_ccnet.jpg" height="291" width="523" /></a></p>
<p>TODO list:</p>
<ul>
<li> If a testcase class loading failed, application looks like hung there, stop button won&#8217;t change back to &#8216;Run&#8217;. Some exception check has to be done there.</li>
<li>Application should  keep the recent target file info to next time auto-loading, just like NUnit.</li>
<li>Main Window should changed to tree-view style, like NUnit.</li>
<li>Capable to test a single method in testCase.</li>
<li>xml generated by datawindow still has some bug, the group header column can&#8217;t use expression. Which mean the element attributes in group header can use sum, or min function, so the total time  and test-suite success and execute are all hard-coded to True now. This bug forced me had to change my pbunit-test.xsl file which was copied from Nuint-test.xsl. In line 103:<br />
<blockquote><p>From<br />
&lt;xsl:apply-templates select=&#8221;.//test-suite[@success='False'][results/test-case]&#8221; &gt;</p>
<p>to:<br />
&lt;xsl:apply-templates select=&#8221;.//test-suite[results/test-case/@success='False']&#8221; &gt;</p></blockquote>
</li>
</ul>
<p>Also, unittests.xsl  needs to be modified like this:</p>
<p>From</p>
<blockquote><p>&lt;xsl:variable name=&#8221;nunit2.time&#8221; select=&#8221;sum($nunit2.result.list/test-suite[position()=1]/@time)&#8221;/&gt;<br />
&lt;xsl:variable name=&#8221;nunit2.failure.list&#8221; select=&#8221;$nunit2.case.list/failure&#8221;/&gt;</p></blockquote>
<blockquote><p>To:<br />
&lt;xsl:variable name=&#8221;nunit2.time&#8221; select=&#8221;sum($nunit2.result.list/test-suite/results/test-case/@time)&#8221;/&gt;</p></blockquote>
<blockquote><p>&lt;xsl:variable name=&#8221;nunit2.failure.list&#8221; select=&#8221;$nunit2.case.list[@success='False']&#8220;/&gt;</p>
<p>line 73:</p>
<p>&lt;xsl:call-template name=&#8221;nunit2testdetail&#8221;&gt;<br />
&lt;xsl:with-param name=&#8221;detailnodes&#8221; select=&#8221;//test-suite/results/test-case[@success='False']&#8220;/&gt;   (used be ../failure)<br />
&lt;/xsl:call-template&gt;</p></blockquote>
<p>I really need somebody to help me to improve this tool, so I create a open-source project on SourceForge. But SF refused me to name it PBUnit, then PowerUnit came to my head.<br />
SourceForge supports both CVS and SVN, neither is easy for Powerbuilder development, unless you can find a SCC proxy for CVS, it seems <a href="http://www.pushok.com">PuskOK</a> from Russia<a href="http://www.daveswebsite.com/software/tamtam/index.shtml"></a> is the only option by now.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maonet.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maonet.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maonet.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maonet.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maonet.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maonet.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maonet.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maonet.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maonet.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maonet.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maonet.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maonet.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maonet.wordpress.com&blog=431779&post=30&subd=maonet&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maonet.wordpress.com/2007/10/23/powerunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d41c3a25ca01f1e979e2bc86b8c4ed38?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">FMao</media:title>
		</media:content>

		<media:content url="http://maonet.files.wordpress.com/2007/10/pbunit_result_in_ccnet.jpg" medium="image">
			<media:title type="html">pbunit_result_in_ccnet.jpg</media:title>
		</media:content>
	</item>
	</channel>
</rss>