Hi Dylan, nice idea .. adding the passed attribute to the <test> tag :)
I made a few changes to the code, removed the global variable that you were using to check if passed is true or not. I try to avoid global variables. Also made the change because the passed attribute would have to be updated after each testcase run. Right now it was updated after the whole testsuite is executed. http://pastie.org/554831 The code was written to use the xml for runtime reporting (link this xml to an ajax webpage to display reports). The xml would be updated the moment a test starts or test finishes. If you dont need this, remove @report_manager.write_newreport_allsuites () from TestUnit.start_test and TestUnit.finish_test. Now the xml would be generated only after each testuite(class) has finished executing all the tests as in the original Ci_reporter. Thanks, Tony --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
