8 Replies Latest reply: Jan 30, 2011 9:46 PM by Ilkka Kudjoi RSS

    How to get the current execution testname?

    hadzhiyski Community Member

      Hello,

       

      I was wondering if it is possible (well it should be somehow) to get the name of the current execution test.

      For example when I use FlexUnit 3 (0.90) then I have to extend the TestCase class and then I have access to its member var methodName.

       

      But when I use flexunit 4, then I don't need to extend TestCase, my methods are just annotated with [Test]

      And when I have a Helper class that wants to know which [Test] myName is currently being executed, how can I do that?

       

      Thanks

       

      Radi