Dave Chestnutt: SparklingCode and CodeGaffes

Writing better code; for fun and profit

  Home  |   Contact  |   Syndication    |   Login
  18 Posts | 1 Stories | 208 Comments | 20 Trackbacks

News

Tag Cloud


Article Categories

Archives

Post Categories

NUnit Tips

We’ve all heard the mantra – Unit Testing is good for the soul. We hear about the goodness of things like JUnit, NUnit, and TDD from other people. But you’re not convinced. After all, it takes more time to write unit test code – and you’d rather get on with the next feature. Besides, whether it’s true or not, you certainly feel like your progress is measured by how many features you crank out. In my own journey, I found I went through three distinct stages to testing heaven. Look at my “diary” for...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

How to easily run NUnit tests in both .NET 1.1 and 2.0 environments. I want to run my NUnit tests! But I have a problem -- my code runs under both .NET 1.1 and 2.0 frameworks. It is real easy to run tests from the IDE, which I do, but that means I'm only running the tests under one version of .NET. How can I easily run tests under both .NET frameworks? I'm lazy, so it has to be easy. So, without even resorting to the command line, here's how I do it in 3 steps: 1. Running tests with the .NET 1.1...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati