예제 #1
0
파일: NUnitTask.cs 프로젝트: breki/flubu
        /// <summary>
        /// Initializes NunitTask with default command line options for nunit V3.
        /// </summary>
        /// <param name="projectName">Unit test project name.</param>
        /// <returns>New instance of nunit task</returns>
        public static NUnitTask ForNunitV3(string projectName)
        {
            var task = new NUnitTask(projectName);

            task.AddNunitCommandLineOption("/labels=All")
            .AddNunitCommandLineOption("/trace=Verbose")
            .AddNunitCommandLineOption("/verbose");

            return(task);
        }
예제 #2
0
파일: NUnitTask.cs 프로젝트: breki/flubu
        /// <summary>
        /// Initializes NunitTask with default command line options for nunit V2.
        /// </summary>
        /// <param name="projectName">Unit test project name.</param>
        /// <returns>New instance of nunit task</returns>
        public static NUnitTask ForNunitV2(string projectName)
        {
            var task = new NUnitTask(projectName);

            task.AddNunitCommandLineOption("/nodots")
            .AddNunitCommandLineOption("/labels")
            .AddNunitCommandLineOption("/noshadow");

            return(task);
        }