I was using Watir::TestCase for the xml report creation in ruby 1.8.7
&Watir 3.0 and the sample xml created was like
···
--------------------
<?xml version="1.0" encoding="UTF-8"?>
<testsuite time="106.481" errors="0" skipped="0" tests="1" failures="0"
name="TestProduct" assertions="0" date="May, 02 2013 at 21:16:23">
<testcase time="106.479" name="test_4" assertions="0">
</testcase>
<system-out>
modal called
false
</system-out>
<system-err>
</system-err>
</testsuite>
---------------------------------
When I am using MiniTest::Unit::TestCase in Ruby 2.0 and Watir 3.7,the
xml missed the <testcase> tag.
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Test::Unit::TestCase" tests="0" time="0.0" failures="0"
errors="0" skipped="0" assertions="0">
<system-out>
</system-out>
<system-err>
</system-err>
</testsuite>
I need to have first xml in Ruby 2.0 (i.e) testcase tag has to be
included, Is there any way?
And also Watir::TestCase in Watir 3.7 but there is no such a file
available there with that name.
--
Posted via http://www.ruby-forum.com/.