Пример #1
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.");
        }
        public RunnerInDirectoryWithoutFramework()
        {
            directory = new DirectoryWithNeededAssemblies("nunit3-console", "testcentric.engine", "testcentric.engine.core", "testcentric-agent", "testcentric-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.");
        }