Unit Test

Feb 6, 2011 at 8:04 PM

I'm curious how people test, for example, bindings in your CM app. As far as I understand there is no test support for this in Caliburn Micro, only in Caliburn.

Feb 10, 2011 at 2:38 PM

No one? :)

Feb 10, 2011 at 3:54 PM

You are true, there is no support for binding testing in CM and, frankly, neither a great help from the WPF/SL platform to accomplish it.
The Caliburn testing framework is the only attempt (I'm aware of) trying to check correctness of bindings without actually running the bindings against a live VM.

I used it myself for a while, but lately I found more comfortable to leave the view side without unit test (it is indirectly tested as part of manual or automated test over the application as a whole).
DISCLAIMER: this is not adviceable for all scenarios, it just works well enough in the context I'm working in.