NUnit Presentation Tonight

I'll be doing an introductory presentation on NUnit at tonight's Ann Arbor Dot Net Developers group. After my presentation, Dave Donaldson will be discussing ways to write quality software with free tools (NUnit, NCover, FxCop) and how to write quality software with VSTS Developer Edition. If you're in Ann Arbor tonight, come check it out.

1 Comment

  • I thought it was a great presentation! Though I'm still not 100% onboard with TDD and unit testing.



    The thing about seeing a TDD presentation is that the standard example is to assert that 1 + 2 == 3. However, the code that I write is rarely this static.



    I'd love to see more examples of unit tests for methods that have to interact with databases and use dynamic parameters (or implicit parameters that are not specifically provided by calling code).



    For example, return the ID for a record that is based on the current date (i.e., so the returned value for one day is not necessarily the same as the value for the next).



    Seeing how to break down the problem of creating a unit test for a real-world problem like this would be a valuable example that would help to drive home the concepts that you introduced.

Comments have been disabled for this content.