Esempio n. 1
0
        public static void DotNetCoreVSTest(this ICakeContext context, IEnumerable<FilePath> testFiles, DotNetCoreVSTestSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (settings == null)
            {
                settings = new DotNetCoreVSTestSettings();
            }

            var tester = new DotNetCoreVSTester(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);
            tester.Test(testFiles, settings);
        }
        protected override void RunTool()
        {
            var tool = new DotNetCoreVSTester(FileSystem, Environment, ProcessRunner, Tools);

            tool.Test(TestFiles, Settings);
        }