From 6aa879a8e361365ed701cd42aaa3812ac14abfe9 Mon Sep 17 00:00:00 2001 From: Charlie Poole Date: Tue, 1 Oct 2024 17:07:50 -0700 Subject: [PATCH] Reinstante teamcity extension as part of our packaging --- build.cake | 2 +- nuget/runners/nunit.console-runner-with-extensions.nuspec | 8 ++++---- package-tests.cake | 7 +++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/build.cake b/build.cake index 8036092b4..7be220651 100644 --- a/build.cake +++ b/build.cake @@ -126,7 +126,7 @@ BuildSettings.Packages.AddRange(new PackageDefinition[] { new PackageReference("NUnit.Extension.NUnitProjectLoader", "3.8.0"), new PackageReference("NUnit.Extension.NUnitV2Driver", "3.9.0"), new PackageReference("NUnit.Extension.NUnitV2ResultWriter", "3.8.0"), - new PackageReference("NUnit.Extension.TeamCityEventListener", "1.0.9") + new PackageReference("NUnit.Extension.TeamCityEventListener", "1.0.7") }), // NOTE: Packages below this point have no direct tests diff --git a/nuget/runners/nunit.console-runner-with-extensions.nuspec b/nuget/runners/nunit.console-runner-with-extensions.nuspec index 660e55bad..94ffdd643 100644 --- a/nuget/runners/nunit.console-runner-with-extensions.nuspec +++ b/nuget/runners/nunit.console-runner-with-extensions.nuspec @@ -32,10 +32,10 @@ - - - - + + + + diff --git a/package-tests.cake b/package-tests.cake index 728891fd3..a0b9e9986 100644 --- a/package-tests.cake +++ b/package-tests.cake @@ -250,6 +250,13 @@ StandardRunnerTests.Add(new PackageTest( MockAssemblySolutionResult, KnownExtensions.VSProjectLoader.SetVersion("3.9.0"))); +StandardRunnerTests.Add(new PackageTest( + 1, "TeamCityListenerTest", + "Run mock-assembly with --teamcity enabled", + "testdata/net462/mock-assembly.dll --teamcity", + new MockAssemblyExpectedResult("net-4.6.2"), + new ExtensionSpecifier("NUnit.Extension.TeamCityEventListener", "nunit-extension-teamcity-event-listener", "1.0.7"))); + ////////////////////////////////////////////////////////////////////// // SPECIAL CASES //////////////////////////////////////////////////////////////////////