4 results for technology, nunit...
When running large test suites, it's useful to get results on the fly, rather than waiting until the suite completes to get results. Some of my test suites take 20, 30+ hours to complete. Here is how you can get immediate results using NUnit Console and TeamCity.
We've recently moved some of our tests from the .NET 3.5 framework to run against the .NET 4.0 framework. I updated the Project target framework to be 4.0 as well. However, I was getting this error: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. After some research, it required a pretty easy fix.
In NUnit, you can specify a category on a test method or test fixture. I needed that list in a totally different context. Here's how to do it.
The CategoryAttribute can be used to specify additional groupings of test cases that you want to run at the same time. For example, we have our test cases split up into level of priorities (Level 1, Level 2, Level 3). Here's how you can do it: