test/flowtestbase.rb in openwferu-0.9.0 vs test/flowtestbase.rb in openwferu-0.9.1
- old
+ new
@@ -29,9 +29,16 @@
assert true
end
protected
+ def test_name
+ s = caller(1)[0]
+ i = s.index('`')
+ s = s[i+1..s.length-2]
+ return s
+ end
+
def dotest (flowDef, expectedTrace, sleepTime=0)
engine = OpenWFEru::Engine.new()
engine.application_context["__tracer"] = Tracer.new