Actually SharpTestEx is my favorite way to make assertions in Unit testing. It has a lot of advantages, first of all it permits to write really clear assertions, then it works on the main Unit testing framework, so I can use the same assertion syntax for nunit and for MStest or MbUnit etc etc. Another [...]

Continue reading about Writing a custom assertion for SharpTestEx

Test helper for a single method
on December 29th, 2010
On category: Testing

I’ve build during years a test helper infrastructure that permits me to decorate a test fixture with some custom attributes that are capable to execute code before and after fixture setup/teardown or test setup/teardown. Now my dear friend Ugo needs for Dexter a modified version of this framework to be able to apply attributes directly [...]

Continue reading about Test helper for a single method

I use AutoMockingContainer extensively in my test projects, and I ‘ve build over time an automocking container that satisfy all of my needs. Thanks to Castle Windsor, using complex logic with the AutomockingContainer is a breeze. Suppose you have this ViewModel Figure 1: ViewModel under test The only aspect I’m interested in is the SelectedLinkResult [...]

Continue reading about Castle and Automock, avoid resolving properties

Feature Pack 2
on November 22nd, 2010
On category: Testing

Some days ago the Feature pack 2 was released. This pack will extend testing capabilities of VS2010, and one of the coolest addition is a graphical editor for the UIMap of Coded UI test. Another killer feature is the official support to run coded ui test With Mozilla firefox 3.5 or higher and support for [...]

Continue reading about Feature Pack 2

Suppose you have a very stupid web page that adds two numbers together. Figure 1: A stupid web page to sum two numbers WOW, this is really a beautiful and useful web page , now I want to register a web performance test that is able to use extraction rules to use this page as [...]

Continue reading about Advanced capability in Web Performance Test of VS2010