May 23, 2010 19:56
Unit tests are not so different from other parts of the code.
You write a test once but expect people to read it many times. And you know what? There are only few reasons for revisiting a test:
- it started to fail
- it needs a refactor
- you want to learn the system under test.
Readability is the
key in all cases.
And - golly! - I came across a free tool which helps writing readable and maintainable tests. Test Lint is the name. This post is a quick sum-up of a quick evaluation I did the other day.
Here's
a small VS2010 project (only VS2010 is supported) which shows some warnings and displays how to write a custom rule.
More...
October 4, 2009 22:14
About 9 months ago I posted a comparison of different mocking frameworks. A lot has changed since then - armloads of bugfixes, gratifying influx of new features, and even a new mocking framework (!) - so time is ripe for a new comparison.
But before I move on, here's a very brief list of changes.
More...
May 19, 2009 14:05
If you ever tried to unit test ASP.NET apps, you know how hard it is. There are Watir, WatiN and Selenium for client side testing but those tests, inherently, are integration ones. And if you are looking for a unit tests solution (especially in a legacy app) - welcome to Ivonna.
Bad news is that it costs €599.00
Good news is that Typemock is now giving away free licences for Isolator+Ivonna bundle: in order to get one, you just need to post on your blog that Typemock is now giving away free licences for Isolator+Ivonna bundle.
Easy? Read more about the rules and fire away!
January 18, 2009 22:41
Finishing off this lengthy soliloquy about different mocking frameworks, here's a small summary.
Comparison of different mocking frameworks. NMock2 vs Moq vs Rhino Mocks vs Typemock Isolator - it's all here.
[Update: there's a new comparison available]
More...
January 11, 2009 21:29
Typemock Isolator costs €449.
Good news: there is a Community Edition that is free[1].When you download the Isolator you get the full Enterprise Edition andafter 21 day the evaluation licence expires and you're left with thefree features only.
And other mocking frameworks just wither away if you compare the feature sets. (Disclaimer: I'm using Typemock at work.)
More...