Friday, July 24, 2009

NBuilder – A must have testing tool

I have recently been using NBuilder by Gareth Down. In my opinion, this testing tool is an absolute must for your toolbox. In my current project, we are going through a good deal of effort to create and correctly populate our objects under test. We have built an extensive suite of test helper methods to produce the objects. Now, with very minimal effort (and much less code) I can create a new object. Here is the description of the tool from the website home page:

“Through a fluent, extensible interface, NBuilder allows you to rapidly create test data, automatically assigning values to properties and public fields that are of type of the built in .NET data types (e.g. ints and strings). NBuilder allows you to override for properties you are interested in using lambda expressions.”

The NBuilder website contains a lot of great examples of the flexibility and power of this tool. Also, be sure to check out the NBuilder page on google code for moer examples, the features and bugs list, etc.

Thanks for creating such a great tool Gareth!

Tuesday, July 21, 2009

Are you on the Dark Side?

When you write code and test cases are you on the dark side or light side of testing? Do you use brute force?

Read Jeff’s Atwood’s blog, Testing With “The Force” to find out more…

Improving jQuery Performance

Giulio Bai has a great list of 10 Ways to Instantly Improve Your jQuery Performance. I highly recommend checking this article out if you are using jQuery.