Category · 7 posts
Silverlight
2009
-
Using Explicit Arrange,Act,Assert scopes in tests – thoughts?
What are your thoughts on this style of writing? Specifically the “Explicit” way of defining arrange, act and assert scopes. also, given the name of the test, where should the call to “OnApplyTemplate” be (if you’ve…
-
Upcoming SilverUnit Preview
Coming up in SilverUnit , the true unit testing framework for silverlight controls
-
A simpler, conventions based DependencyProperty structure for silverlight using CustomControlBase
Having stated to look into silverlight not long ago, I was totally put off by the horridness that is DependencyProperties, and how you implement them: You need to declare a static property that is registered at the type…
-
Resharper template for DependencyProperty in silverlight
Here’s a much better DependencyProperty snipper for Silverlight custom controls that can be used with resharper: #region $PROPNAME$ Property public $PROPTYPE$ $PROPNAME$ { get { return ($PROPTYPE$)…
-
Fix: Requested registry access is not allowed error when creating silverlight project in visual studio 2008
This is an issue that had me stumped for a while. I was getting a “Requested registry access is not allowed.” message from visual studio when trying to create a new silverlight application. turns out the culprit is a…
-
SilverUnit Project Template and new version
SilverUnit 0.5 has been released with some speed optimizations, as well as binary reference to the latest Typemock version 5.3.0. If you don’t know what it is, SilverUnit aims to allow true unit testing of silverlight…
2008
-
Unit Testing in silverlight land with Typemock Isolator
I’ve been asked quite a lot recently whether one can write unit tests and isolate logical code that runs inside a silverlight application. Up until today my initial answer was ‘no’ because silverlight runs under…