lib/cucumber/formatter/junit.rb in cucumber-0.3.96 vs lib/cucumber/formatter/junit.rb in cucumber-0.3.97
- old
+ new
@@ -1,8 +1,9 @@
require 'cucumber/formatter/ordered_xml_markup'
module Cucumber
module Formatter
+ # The formatter used for <tt>--format junit</tt>
class Junit < Cucumber::Ast::Visitor
def initialize(step_mother, io, options)
super(step_mother)
raise "You *must* specify --out DIR for the junit formatter" unless String === io && File.directory?(io)