Unit Testing

The Art of Unit Testing

The Art of Unit Testing, by well-known .NET developer Roy Osherove, is an excellent resource for developers interested in using unit tests to their full potential. While the book provides an...

0 replies - 2334 views - 10/14/09 by msonsino in Book Reviews

What I Learned About Writing Unit Tests: Test Infrastructure

In the previous installment I mentioned that I wasn’t satisfied with tests that check whether a single constructor throws a single exception. Over the years...

0 replies - 610 views - 10/13/09 by sashag in News

Video: Typemock Basics Tutorial - Lesson 2

Typemock Isolator "Decorators" feature allows you to extend the current testing framework with custom attributes, regardless if you are working...

0 replies - 533 views - 06/12/09 by alashcraft in Videos

Beginning Mocking With Moq 3 - Part 3

In the previous part of this series, we looked at how you can verify on an interface exactly what was called using Moq’s “Verify” syntax. In this entry...

0 replies - 1215 views - 04/01/09 by justin_etheredge in News

F#: Forcing type to unit for Assert.ShouldThrow in XUnit.NET

I've started playing around with F# again and decided to try and create some unit tests around the examples I'm following from Real World Functional...

0 replies - 437 views - 03/29/09 by markhneedham in News

Beginning Mocking with Moq 3 - Part 2

In the previous entry in this series on beginning mocking using Moq, we looked at how to create a mock and then later verify that some method was called. This...

1 replies - 1179 views - 03/16/09 by justin_etheredge in News

Unit Testing File I/O Operations

This is an issue I’ve seen come up in my own team a lot lately and I thought it may be of general interest as well.  This issue is how would I unit test...

0 replies - 965 views - 03/13/09 by jeremyjarrell in News

Beginning Mocking With Moq 3 – Part 1

While I was at the ALT.NET and MVP summits, the one topic that came up over and over again was the fact that we don’t focus on the beginners enough. And not...

0 replies - 1533 views - 03/09/09 by justin_etheredge in News

Unit Testing Legacy Code With C# 3.0 Language Features

We all have some old legacy code from the C# 2.0 days floating around--Legacy in the Feathers sense of the word that there are no unit tests around it.  We...

0 replies - 816 views - 12/12/08 by jeremyjarrell in News

Leveraging Unit Tests As Functional Tests, Load Tests, and Service Monitors

Frank Cohen will demonstrate the new PushToTest TestMaker Version 5 open- source end-to-end service governance and test automation tool. Software developers...

0 replies - 5793 views - 07/21/08 by Schalk Neethling in News

Silverlight 2 Control Unit Tests

This video introduces the control source and unit test announcement from MIX, and then walks you through:

0 replies - 1108 views - 07/17/08 by Schalk Neethling in News