Beispiel #1
0
        public void TestTestRunner()
        {
            throw new NotImplementedException(); // This causes problems with automated testing
            TestRunnerGUI runnerGui = new TestRunnerGUI(Assembly.GetExecutingAssembly());

            runnerGui.Run();
        }
Beispiel #2
0
        private void runWinformsTestrunner()
        {
            var treeBuilder = new TestsTreeBuilder();
            var builder     = new NunitTestsTreeBuilder(treeBuilder);

            addToTestsTree(builder, "Unit Tests.dll");
            addToTestsTree(builder, "../../Gameplay/bin/x86/Debug/Gameplay.dll");
            addToTestsTree(builder, "../../Geomipmap.Tests/bin/Debug/Geomipmap.Tests.dll");

            TestRunnerGUI runnerGui = new TestRunnerGUI(treeBuilder.RootNode);

            //runner.RunTestNewProcessPath = "\"" + Assembly.GetExecutingAssembly().Location + "\"" + " -test {0}";

            runnerGui.Run();
        }