Пример #1
0
        public RunnerInDirectoryWithoutFramework()
        {
            directory = new DirectoryWithNeededAssemblies("nunit3-console", "nunit-agent", "nunit-agent-x86");

            Assert.That(Path.Combine(directory.Directory, "nunit.framework.dll"), Does.Not.Exist, "This test must be run without nunit.framework.dll in the same directory as the console runner.");
        }
Пример #2
0
        public MockAssemblyInDirectoryWithFramework()
        {
            directory = new DirectoryWithNeededAssemblies("mock-assembly");

            Assert.That(Path.Combine(directory.Directory, "nunit.framework.dll"), Does.Exist, "This test must be run with nunit.framework.dll in the same directory as the mock assembly.");
        }