Category Archives: Test

Executing Unittests in parallel

My machine has a multi core processor, but my unittests only run one at a time. In Visual Studio 2010 the option to use more than one core and run unittests in parallel is there, but well hidden in the … Continue reading

Posted in Test | Tagged , , , , , , , , , , | Leave a comment

Azure as test environment

My current project involves the mono framework. It is crossplatform and runs on windows, linux and macos. The lack of diskspace (and time) for setting up a linux machine and the lack of money to buy a new macbook pro … Continue reading

Posted in Test | Tagged , , , , , , , , , , , , , , | Leave a comment

Custom AutomationPeer classes

When you use custom controls in your silverlight application, you should implement custom AutomationPeer classes. These AutomationPeer classes will be used in your unittests. Below some different flavours I use in my project. Inherited, when you inherit from a control … Continue reading

Posted in Test | Tagged , , , , , | 6 Comments

Silverlight unittest / automation

Reading up on silverlight unittesting from Justin Angel’s post. I ran into some startup problems like not iheriting from SilverlightTest in my test class (took me two hours ;)) and adding the right assemblies to our project. But the biggest … Continue reading

Posted in Test | Tagged , , , , , | Leave a comment

Use your own performance counters

Create and use your own performance counters to see how you program is doing in performancetests, stresstests, production, … First register the performance counters. This is done with a PerformanceCounterCategory that contains the CounterCreationData objects for the performance counters. Be … Continue reading

Posted in Test | Tagged , , , , , | Leave a comment