2
我不斷收到:實施的TestSuite在NUnit的
The type or namespace name 'TestSuite' could not be found (are you missing a using directive or an assembly reference?)
我用Visual Studio 2010和我已經安裝了通過的NuGet最新的NUnit和硒的引用。下面是代碼:
using NUnit.Framework;
namespace SeleniumTests
{
public class ManifestTestSuite
{
[Suite]
public static TestSuite Suite
{
get
{
TestSuite suite = new TestSuite("MyTestSuite");
suite.Add(new AddAll());
suite.Add(new RemoveAll());
return suite;
}
}
}
}