Pex for unit testing – why you need to check this out!!

We all know unit testing is a great idea in concept, but up until recently – it required quite a bit of discipline on behalf of the developer and some committment from the project team. This is because all unit testing had to be written by hand.
 
Well in walked Visual Studio 2008 Professional, which includes unit test generation for the masses – which is a huge step in the right direction, but it still does require the developer to do some coding (but not a lot).
 
Well, enter Pex. This is a white-box unit testing plug-in for Visual Studio that is nothing short of fantastic! This will not only generate unit tests, but looks at the logic of the member, and tries to specifically make unit tests that will give you more code coverage!! Yes, this really does exist – and it’s FREE, no less!! You should check it out today:
PEX – from Microsoft Research:
 
PEX search on MSDN (there’s been a bit written up on it here):
 
Posted in Best-practices, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives
Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 2 other followers

%d bloggers like this: