mockolate icon indicating copy to clipboard operation
mockolate copied to clipboard

issue with flash builder code coverage plugin?

Open jasongardnerlv opened this issue 14 years ago • 1 comments

I just started using mockolate yesterday, and I'm enjoying the experience ;)

I noticed something though. I had a test that was making a nice mockolate out of a spark.components.Form. I was testing a function that takes a Form parameter and dynamically adds some FormItem objects to it. The test worked fine (FlexUnit4.1), although was very slow. However, if I ran the test runner while connecting to the FB code coverage plugin, the tests hang and never finish.

I'll switch to using an interface or something, but wanted to mention it. I can provide more details if it isn't easily reproducible.

Thanks for the great product!

jasongardnerlv avatar Jan 04 '12 22:01 jasongardnerlv

You should set timeout:

Async.proceedOnEvent(this, target, Event.COMPLETE, 10000);

Amnes avatar Jun 12 '12 08:06 Amnes