I am getting an errors when just simply trying to create a class that inherits from WebFormTestCase:
using System;
using NUnit.Framework;
using NUnit.Extensions.Asp;
using NUnit.Extensions.Asp.AspTester;
namespace Test
{
[TestFixture]
public class MyTest : WebFormTestCase
{
}
}
I can build, but I get errors when I run the tests.
With TestDriven.NET:
TestCase 'T:Test.MyTest' failed: Couldn't find type with name 'Test.MyTest'
System.ApplicationException: Couldn't find type with name 'Test.MyTest'
at MutantDesign.Xml.Documentation.MemberInfoUtilities.FindMemberInfo(Assembly assembly, String xmlName)
at TestDriven.TestRunner.AdaptorTestRunner.Run(ITestListener testListener, ITraceListener traceListener, String assemblyPath, String testPath)
at TestDriven.TestRunner.ThreadTestRunner.Runner.Run()
With the NUnit-GUI:
System.IO.FileNotFoundException : Could not load file or assembly 'nunit.framework, Version=2.2.0.0, Culture=neutral, PublicToken=96d09a1eb7f44a77' or one of its dependencies. The system cannot find the file specified.
I am using Visual Studio 2005.
I have made sure that my references point to the following versions.
nunit.framework 2.2.8
NUnitAsp 1.5.1.27657
I have downloaded samples that work fine! When I add my test class to these samples it works fine! For some reason when I create my own project it doesn't work. Help!