AgUnit + Silverlight Testing Framework

Sep 13 2010 at 3:51 AM

Hi,

I inherit my tests to SilverlightTest from the Silverlight Unit Testing Framework.

I use the methods EnqueueDelay() and EnqueueCallback() but they don't seem to work when I run AgUnit.

I hope you guys can help me.

Thanks,

Vinny

Coordinator
Sep 13 2010 at 9:33 AM

Hi,

AgUnit currently blocks the UI thread to run as much tests as fast as possible without waiting on the Silverlight layout cycle (dispatcher).
This is done to handle large amounts of tests. I've seen execution times of half an hour and longer reduced to a couple of minutes by doing this.
I've been thinking about making this behavior configurable for actual UI tests like you are trying to do.

If you feel you're up to it, you can check out the source code and try to change the behavior. You'll have to start looking in the AgUnitVsttTestHarness class.

Grtz,

Steven

May 4 2011 at 2:42 PM

Hi,

are there any plans to make this configurable or maybe depending on the Asynchronous attribute anytime soon?

Kind regards,

Felix

Coordinator
May 5 2011 at 12:36 PM

Hi friegger,

I'm currently working on a total rewrite of AgUnit for ReSharper 6. I'm hoping to release AgUnit for it as soon as it comes out, which would be in about 2 months.

I'm currently not planning any new features (except for a few bugfixes) for the ReSharper 5 version.

Offcourse any help in this matter would be greatly appreciated :)

Grtz,

Steven