コード例 #1
0
 public static void SuiteInitialize(TestContext context)
 {
     DotnetTestFixture.RootDirectory = Path.GetFullPath(
         Path.Combine(
             Environment.CurrentDirectory,
             "..",
             "..",
             "..",
             "..",
             "assets",
             "NUnit.Xml.TestLogger.NetMulti.Tests"));
     DotnetTestFixture.TestAssemblyName = "NUnit.Xml.TestLogger.NetMulti.Tests.dll";
     DotnetTestFixture.Execute("{assembly}.{framework}.test-results.xml");
 }
コード例 #2
0
        public static void SuiteInitialize(TestContext context)
        {
            DotnetTestFixture.RootDirectory = Path.GetFullPath(
                Path.Combine(
                    Environment.CurrentDirectory,
                    "..",
                    "..",
                    "..",
                    "..",
                    "assets",
                    "NUnit.Xml.TestLogger.NetCore.Tests"));
            DotnetTestFixture.TestAssemblyName = "NUnit.Xml.TestLogger.NetCore.Tests.dll";
            var testResultsPath = Path.Combine(DotnetTestFixture.RootDirectory, "artifacts");

            DotnetTestFixture.Execute("test-results.xml", testResultsPath);
        }
コード例 #3
0
 public static void SuiteInitialize(TestContext context)
 {
     DotnetTestFixture.Execute();
 }
コード例 #4
0
 public static void SuiteInitialize(TestContext context)
 {
     DotnetTestFixture.Execute("test-results.xml");
 }