Esempio n. 1
0
        public void InstallBuiltins()
        {
            log.Info("Installing Builtins");

            // Define NUnit Frameworks
            frameworks.Register("NUnit", "nunit.framework");
            frameworks.Register("NUnitLite", "NUnitLite");

            // Install builtin SuiteBuilders
            suiteBuilders.Install(new NUnitTestFixtureBuilder());
            suiteBuilders.Install(new SetUpFixtureBuilder());

            // Install builtin TestCaseBuilder
            testBuilders.Install(new NUnitTestCaseBuilder());
            //testBuilders.Install(new TheoryBuilder());

            // Install builtin TestCaseProviders
            testcaseProviders.Install(new TestCaseParameterProvider());
            testcaseProviders.Install(new TestCaseSourceProvider());
            testcaseProviders.Install(new CombinatorialTestCaseProvider());

            // Install builtin DataPointProvider
            dataPointProviders.Install(new InlineDataPointProvider());
            dataPointProviders.Install(new ValueSourceProvider());
            dataPointProviders.Install(new DatapointProvider());
        }
Esempio n. 2
0
        /// <summary>
        /// Installs the builtin 'extensions'.
        /// </summary>
        public void InstallBuiltins()
        {
            log.Info("Installing Builtins");

            // Install builtin SuiteBuilders
            suiteBuilders.Install(new NUnitTestFixtureBuilder());
            suiteBuilders.Install(new SetUpFixtureBuilder());

            // Install builtin TestCaseBuilder
            testBuilders.Install(new NUnitTestCaseBuilder());
            //testBuilders.Install(new TheoryBuilder());

            // Install builtin TestCaseProviders
            testcaseProviders.Install(new DataAttributeTestCaseProvider());
            testcaseProviders.Install(new CombinatorialTestCaseProvider());

            // Install builtin ParameterDataProviders
            parameterDataProviders.Install(new ParameterDataProvider());
            parameterDataProviders.Install(new DatapointProvider());
        }
Esempio n. 3
0
 internal void Install(ITestCaseBuilder builder)
 {
     testBuilders.Install(builder);
 }