Exemplo n.º 1
0
        public TestRunnerGUI(Assembly TestsAssembly)
        {
            var builder = new NunitTestsTreeBuilder();

            rootNode = builder.CreateTestsTree(TestsAssembly);

            TestRunner = createTestRunner();
        }
Exemplo n.º 2
0
        public void RunTestByName(string name)
        {
            throw new NotImplementedException();
            var builder = new NunitTestsTreeBuilder();
            //rootNode = builder.CreateTestsTree(TestsAssembly);
            var node = rootNode.FindByPath(name);

            if (node == null)
            {
                throw new Exception("Test with name: (" + name + ") was not found!");
            }

            TestRunner.Run(node.Test);
            //runTestMethod(node.TestMethod); TODO: fix automated testing
        }