<?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/"
	>

<channel>
	<title>just_add_watir &#124; Advanced recipes for Watir &#187; ci_reporter</title>
	<atom:link href="http://justaddwatir.com/tag/ci_reporter/feed/" rel="self" type="application/rss+xml" />
	<link>http://justaddwatir.com</link>
	<description>Advanced recipes for Watir</description>
	<lastBuildDate>Wed, 21 Oct 2009 02:44:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Q. How do I use ci_reporter in my Test::Unit scripts?</title>
		<link>http://justaddwatir.com/2008/q-how-do-i-use-ci_reporter-in-my-testunit-scripts/</link>
		<comments>http://justaddwatir.com/2008/q-how-do-i-use-ci_reporter-in-my-testunit-scripts/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 10:28:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[watir]]></category>
		<category><![CDATA[ci_reporter]]></category>
		<category><![CDATA[Test::Unit]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=49</guid>
		<description><![CDATA[A. Use a ci_reporter gem ...
To install the ci_reporter gem on windows:

gem install ci_reporter

If you're using Test::Unit, ensure the ci/reporter/rake/test_unit_loader.rb file is loaded before the test is run. If you're using RSpec, you‘ll need to pass the following arguments to the spec command:

 --require GEM_PATH/lib/ci/reporter/rake/rspec_loader
 --format CI::Reporter::RSpec

You may also want to set the output directory [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A. Use a ci_reporter gem ...</strong><br />
To install the ci_reporter gem on windows:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">gem install ci_reporter</pre></div></div>

<p>If you're using Test::Unit, ensure the ci/reporter/rake/test_unit_loader.rb file is loaded <strong>before</strong> the test is run. If you're using RSpec, you‘ll need to pass the following arguments to the spec command:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"> <span style="color:#006600; font-weight:bold;">--</span><span style="color:#CC0066; font-weight:bold;">require</span> GEM_PATH<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ci<span style="color:#006600; font-weight:bold;">/</span>reporter<span style="color:#006600; font-weight:bold;">/</span>rake<span style="color:#006600; font-weight:bold;">/</span>rspec_loader
 <span style="color:#006600; font-weight:bold;">--</span><span style="color:#CC0066; font-weight:bold;">format</span> <span style="color:#6666ff; font-weight:bold;">CI::Reporter::RSpec</span></pre></div></div>

<p>You may also want to set the output directory as demonstrated by setting the CI_REPORTS environment variable.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'test/unit'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'ci/reporter/rake/test_unit_loader.rb'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'watir'</span>
ENV<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">&quot;CI_REPORTS&quot;</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#996600;">'C:/temp/'</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://justaddwatir.com/2008/q-how-do-i-use-ci_reporter-in-my-testunit-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
