Can we have a loop inside a unit test? My method returns an IEnumerable<IEnumerable>, I would like to unit test this logic where the IEnumerable<IEnumerable> is created. Basically I wanna
I am pretty new to NUnit (and automated testing in general).I have recently done some Ruby On Rails work and noticed that in my test suite, when I create objects (such as a new user) and commit them d
I am writing an NUnit test that I want run only in the Release configuration. Is there an elegant way of doing this with a test case attribute?Right now, I am surrounding the entire function block wit
I have some NUnit tests which uses a TestCaseSource function. Unfortunately, the TestCaseSource function that I need takes a long time to initialize, because it scans a folder tree recursively to find
My team makes extensive use of NUnit unit tests in our C# project.Recently we have started using the Task Parallel Library (TPL) in .NET 4, which has introduced开发者_JAVA百科 a wrinkle for us.
Well we are facing a strange problem with JetBrains TeamCity ind开发者_开发问答uced unit tests on our main project where tests from few library projects are failing regularly. Apparently, it\'s not re
I\'m looking for opinions and thoughts surrounding testing and Continuous Integration using nUnit and/or FitNesse.
I\'m somewhat of a newbie in unit testing. Stumbled upon a problem of unit testing a lazy load property and wondering if there is a simple solution to that:
I\'ve a class library in visual studio with a method that just checks if specified file exists or not. If I pass just file name (without full path) of some text file which exists in the bin directory,
I added a couple of folders to my C# project and now when ever I try to run project from NUnit I always encounter following exception -