Rickard Öberg wrote:

That's the problem with random behaviour - it is non-trivial (if not impossible) to make tests for it. In my own case the tests failed if I ran them normally, and passed whenever I tried to debug them using a debugger. There's probably a hashmap in there that causes this randomness.

It's not a hashmap, it's the Class.getMethods() method that returns them in a non-deterministic order and consequently so are the candidate steps that are inspected to match a textual step. If one uses unique regex pattern it does not matter. The problem manifests itself as a consequence of non-unique patterns.

Anyway, I started work on making the candidate step aware of the step type. I need to verify that this fixes the behaviour.

Cheers



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to