Skip to content

Commit

Permalink
Merge pull request #1490 from nunit/issue-1471
Browse files Browse the repository at this point in the history
Reinstante teamcity extension as part of our packaging
  • Loading branch information
CharliePoole authored Oct 2, 2024
2 parents 2d972df + 6aa879a commit 9456170
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions nuget/runners/nunit.console-runner-with-extensions.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
<dependencies>
<group>
<dependency id="NUnit.ConsoleRunner" version="$version$" />
<dependency id="NUnit.Extension.NUnitProjectLoader" version="3.6.0" />
<dependency id="NUnit.Extension.VSProjectLoader" version="3.8.0" />
<dependency id="NUnit.Extension.NUnitV2ResultWriter" version="3.6.0" />
<dependency id="NUnit.Extension.NUnitV2Driver" version="3.8.0" />
<dependency id="NUnit.Extension.NUnitProjectLoader" version="3.8.0" />
<dependency id="NUnit.Extension.VSProjectLoader" version="3.9.0" />
<dependency id="NUnit.Extension.NUnitV2ResultWriter" version="3.8.0" />
<dependency id="NUnit.Extension.NUnitV2Driver" version="3.9.0" />
<dependency id="NUnit.Extension.TeamCityEventListener" version="1.0.7" />
</group>
</dependencies>
Expand Down
7 changes: 7 additions & 0 deletions package-tests.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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
//////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 9456170

Please sign in to comment.