nunit
NUnit.Extensions.Asp.DoctypeDtdException: Problem with DOCTYPE DTD:
I am using NUnitAsp for testing ASP.NET 2.0 pages.I am getting DoctypeDtdException. NUnit.Extensions.Asp.Doc开发者_如何转开发typeDtdException: Problem with DOCTYPE DTD:Your DOCTYPE is probably incorre[详细]
2023-03-25 21:36 分类:问答How to write Nunit TestCases to test the correct List of strings is returned
I have a method like: public virtual IList<string> Validate() { ... } I want to unit test this using NUnit. This is part of a class Vehicle.[详细]
2023-03-25 09:33 分类:问答Running nunit-console on a solution file leads to System.IO.FileLoadException
When I try to use nunit-console.exe to run all the tests in a solution file as such: nunit-console.exe MyProject.sln[详细]
2023-03-25 04:47 分类:问答Unit testing, ensuring good coverage while avoiding unneeded tests
I\'ve written class, which is an enumerable wrapper that caches the results of an underlying enumerable, only getting the next element if we enumerate and reach the end of the cached results. It can b[详细]
2023-03-25 02:13 分类:问答Debugging Nunit tests in Visual Studio C# Express 2010
I\'ve followed th开发者_Go百科is advice to get debugging working for NUnit tests. http://www.blackwasp.co.uk/NUnitCSharpExpress.aspx[详细]
2023-03-25 01:58 分类:问答Mysterious behaviour change of NUnit constraints
The following tests pass when using NUnit 2.4.8 and fail with NUnit 2.5.10: using NUnit.Framework; namespace SimpleTests[详细]
2023-03-24 18:22 分类:问答Does NUnit create a new instance of the test fixture class for each contained test method nowadays?
As written in a fairly old book XUnit Patterns NUnit 2.0 did not create new test fixtures for each test, and because of that if tests were manipulating some state of fixture it became shared and could[详细]
2023-03-24 17:20 分类:问答TFS Build 2010 Code Coverage using NUnit
I was wondering if any of you guys had any experience generating code coverage reports in TFS Build Server 2010 while running NUnit tests.[详细]
2023-03-24 09:47 分类:问答How to unit test referenced property with nhibernate
What\'s the best practice if I\'d like to unit test an entity with a referenced property? BlogEntry is referencing a User object by a foreign key. Right now I\'m using session.Load to avoid an except[详细]
2023-03-23 18:19 分类:问答Testing code that could be optimised out
I\'m just trying out tdd with nunit and i\'ve written the following test, for my CachedEnumerable<T> class:[详细]
2023-03-23 15:15 分类:问答