lib/runners/runner.riml in speckle-0.1.3 vs lib/runners/runner.riml in speckle-0.1.4

- old
+ new

@@ -2,20 +2,29 @@ def initialize() self.specs = [] self.halt = false self.stopped = false self.bail = false + self.tag = '' end defm set_bail(bail) self.bail = bail end defm get_bail() return self.bail end + defm set_tag(tag) + self.tag = tag + end + + defm get_tag() + return self.tag + end + defm add(spec) add(self.specs, spec) end defm start(reporter, stats) @@ -29,9 +38,10 @@ break end spec_runner = new SpecRunner(spec) spec_runner.set_bail(self.get_bail()) + spec_runner.set_tag(self.get_tag()) spec_runner.start(reporter, stats) if spec_runner.has_bailed() self.stopped = true end