Continuous Integration Enthusiast but Ruby Newbie here...
First off, Nick, thanks for putting something together for test reporting.
Now down to business, I want to make my watir tests display in CruiseControl. I
can run a ruby test easy enough from ant, but don't know how to get the
ci_reporter class to print out my results so that it gets displayed in the
build report.
Can someone show me how to alter this Watir sample test to use ci_reporter?
***********************
require 'watir'
include Watir
require 'test/unit'
class TC_article_example < Test::Unit::TestCase
def test_search
ie = IE.new
ie.goto("http://www.google.com/ncr")
ie.text_field(:name, "q").set("pickaxe")
ie.button(:value, "Google Search").click
assert(ie.text.include?("Programming Ruby: The Pragmatic Programmer's
Guide"))
end
end
***************************
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6596&messageID=19174#19174
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general