# Continous integration and watir

**URL:** <https://www.ruby-forum.com/t/continous-integration-and-watir/130961>\
**Category:** Ruby\
**Created:** [March 4, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961 "2008-03-04T20:17:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emilsverige](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Post date:** [March 4, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961/1 "2008-03-04T20:17:53Z")

</div>

Has anyone set up a Continous integration server running watir tests?  
Any comparisons or tips?

Kind Regards  
Emil

---

<div class="post-metadata">

**Author:** ![emilsverige](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Post date:** [March 5, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961/2 "2008-03-05T18:10:37Z")

</div>

We’re running Cruise Control on 10 vms that kick off our functional test  
suites the majority of which are using Watir. Did you have any specific  
questions? I also put together a quick blog post on setting one up from  
scratch:  
[http://charleybakersblog.blogspot.com](http://charleybakersblog.blogspot.com)

-Charley

Emil S. wrote:

> Has anyone set up a Continous integration server running watir tests?  
> Any comparisons or tips?
> 
> Kind Regards  
> Emil

---

<div class="post-metadata">

**Author:** ![emilsverige](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Post date:** [March 5, 2008, 6:27pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961/3 "2008-03-05T18:27:51Z")

</div>

Emil,  
I used to do this all the time at a .Net shop, funny enough, also  
in a slew of VMs.  
More or less, you can just set it to run as a test, after the build.  
Instead of relying  
on the exit codes (Oi I’m remember the pain of some of this now…) we  
had the watir  
test output an xml file, which was grabbed in the build report.

I never used the CI Reporter in Ruby though.  
Charley, can that be used to report test status to say, the  
traditional Java CC, and [CC.Net](http://CC.Net)?

–Kyle

---

<div class="post-metadata">

**Author:** ![emilsverige](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Post date:** [March 5, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961/4 "2008-03-05T19:27:11Z")

</div>

Charley Baker wrote:

> We’re running Cruise Control on 10 vms that kick off our functional test  
> suites the majority of which are using Watir. Did you have any specific  
> questions? I also put together a quick blog post on setting one up from  
> scratch:  
> [http://charleybakersblog.blogspot.com](http://charleybakersblog.blogspot.com)
> 
> -Charley
> 
> Emil S. wrote:
> 
> > Has anyone set up a Continous integration server running watir tests?  
> > Any comparisons or tips?
> > 
> > Kind Regards  
> > Emil

Not really any specific questions, I’ve never done it in any language,  
so any input is appreciated. I have already seen your blog about it, but  
haven’t tried it out yet. But I definitely will.

---

<div class="post-metadata">

**Author:** ![emilsverige](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Post date:** [March 5, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961/5 "2008-03-05T19:22:37Z")

</div>

Kyle,

CI reporter outputs in the standard xUnit style xml file which can be  
picked up by any version of CC. We’re actualy using the Java CC  
internally with dashboards, metrics, etc for both unit and functional  
tests.

-Charley

Kyle S. wrote:

> Emil,  
> I used to do this all the time at a .Net shop, funny enough, also  
> in a slew of VMs.  
> More or less, you can just set it to run as a test, after the build.  
> Instead of relying  
> on the exit codes (Oi I’m remember the pain of some of this now…) we  
> had the watir  
> test output an xml file, which was grabbed in the build report.
> 
> I never used the CI Reporter in Ruby though.  
> Charley, can that be used to report test status to say, the  
> traditional Java CC, and [CC.Net](http://CC.Net)?
> 
> –Kyle
