Skip to content

Commit

Permalink
chore: centralized packages and single changelog. (#100)
Browse files Browse the repository at this point in the history
* chore: centralized packages and single changelog.

* fix: link to older repo changelogs.
  • Loading branch information
codito authored Jul 28, 2024
1 parent df22e55 commit 097dc22
Show file tree
Hide file tree
Showing 30 changed files with 111 additions and 243 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

Starting with v4.0.x, all the testloggers use a unified changelog for
simplicity. For v3.x changelogs, refer to the end of this document.

## Unreleased (v4.0.x)

## v3.x and earlier

- **JUnitXml.TestLogger**: See changelog on the releases page of the [JUnit Test Logger GitHub repository](https://github.com/spekt/junit.testlogger/).
- **NUnitXml.TestLogger**: See
[CHANGELOG](https://github.com/spekt/nunit.testlogger/blob/master/CHANGELOG.md).
- **XunitXml.TestLogger**: See
[CHANGELOG](https://github.com/spekt/xunit.testlogger/blob/master/CHANGELOG.md).
9 changes: 2 additions & 7 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
<Link>stylecop.json</Link>
</AdditionalFiles>

<PackageReference Include="Stylecop.Analyzers" Condition="$(StylecopEnabled) == '' or $(StylecopEnabled) != 'false'">
<Version>$(StylecopVersion)</Version>
</PackageReference>
<PackageReference Include="Stylecop.Analyzers" Condition="$(StylecopEnabled) == '' or $(StylecopEnabled) != 'false'" />
</ItemGroup>

<!-- Code analysis settings -->
Expand All @@ -64,9 +62,6 @@
<NUnitVersion>3.13.2</NUnitVersion>
<NUnitTestAdapterVersion>4.0.0</NUnitTestAdapterVersion>
<MSTestVersion>3.4.3</MSTestVersion>

<!-- Only use stable versions of stylecop -->
<StylecopVersion>1.1.118</StylecopVersion>
</PropertyGroup>
</Project>
<!-- vim: set ft=xml : -->
<!-- vim: set ft=xml : -->
22 changes: 22 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="15.5.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />

<PackageVersion Include="Stylecop.Analyzers" Version="1.1.118" />

<PackageVersion Include="MSTest.TestFramework" Version="3.5.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.5.0" />
<PackageVersion Include="xunit" Version="2.8.1" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.1" />

<PackageVersion Include="Moq" Version="4.20.70" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="Verify.MSTest" Version="24.1.0" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" />
</ItemGroup>
</Project>
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# .NET test loggers

Junit, NUnit and Xunit logger extensions for [Visual Studio Test Platform](https://github.com/microsoft/vstest). Connect your test reports to Circle CI, Gitlab and others from `dotnet test`.

[![Build Status](https://github.com/spekt/testlogger/workflows/.NET/badge.svg)](https://github.com/spekt/testlogger/actions?query=workflow%3A.NET)
[![Code coverage](https://codecov.io/gh/spekt/testlogger/branch/master/graph/badge.svg)](https://codecov.io/gh/spekt/testlogger)

## Packages

| Logger | Stable Package | Pre-release Package | Usage | Release Notes |
| ------ | -------------- | ------------------- | ------------- | ------------- |
| JUnit | [![NuGet](https://img.shields.io/nuget/v/JUnitXml.TestLogger.svg)](https://www.nuget.org/packages/JUnitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/junitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/JunitXml.TestLogger) | [README](src/JUnit.Xml.Package/README.md) | [CHANGELOG](src/JUnit.Xml.Package/CHANGELOG.md) |
| NUnit | [![NuGet](https://img.shields.io/nuget/v/NUnitXml.TestLogger.svg)](https://www.nuget.org/packages/NUnitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/nunitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/NunitXml.TestLogger) | [README](src/NUnit.Xml.Package/README.md) | [CHANGELOG](src/NUnit.Xml.Package/CHANGELOG.md) |
| Xunit | [![NuGet](https://img.shields.io/nuget/v/XunitXml.TestLogger.svg)](https://www.nuget.org/packages/XunitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/xunitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/XunitXml.TestLogger) | [README](src/Xunit.Xml.Package/README.md) | [CHANGELOG](src/Xunit.Xml.Package/CHANGELOG.md) |
| Logger | Stable Package | Pre-release Package | Usage |
| ------ | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| JUnit | [![NuGet](https://img.shields.io/nuget/v/JUnitXml.TestLogger.svg)](https://www.nuget.org/packages/JUnitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/junitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/JunitXml.TestLogger) | [README](src/JUnit.Xml.Package/README.md) |
| NUnit | [![NuGet](https://img.shields.io/nuget/v/NUnitXml.TestLogger.svg)](https://www.nuget.org/packages/NUnitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/nunitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/NunitXml.TestLogger) | [README](src/NUnit.Xml.Package/README.md) |
| Xunit | [![NuGet](https://img.shields.io/nuget/v/XunitXml.TestLogger.svg)](https://www.nuget.org/packages/XunitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/xunitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/XunitXml.TestLogger) | [README](src/Xunit.Xml.Package/README.md) |

Release notes for all loggers are in the [CHANGELOG](./CHANGELOG.md).

## Contribution Guide

Expand All @@ -33,6 +36,7 @@ If acceptance tests are failing, try running this command to see detailed output
## Wiki

See <https://github.com/spekt/testlogger/wiki> for [Logger Configuration](https://github.com/spekt/testlogger/wiki/Logger-Configuration) and troubleshooting.

## License

MIT
7 changes: 0 additions & 7 deletions src/JUnit.Xml.Package/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/JUnit.Xml.Package/JUnit.Xml.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<None Update="README.md" Pack="true" PackagePath="">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="CHANGELOG.md" Pack="true" PackagePath="">
<None Include="$(SourceRoot)/CHANGELOG.md" Pack="true" PackagePath="">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/JUnit.Xml.Package/JUnitXml.TestLogger.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
<owners>Siphonophora,codito,faizan2304,smadala</owners>
<projectUrl>https://github.com/spekt/junit.testlogger</projectUrl>
<description>Xml logger for JUnit v5 compliant xml report when test is running with "dotnet test" or "dotnet vstest".</description>
<icon>packageIcon.png</icon>
<license type="expression">MIT</license>
<readme>docs/README.md</readme>
<icon>packageIcon.png</icon>
</metadata>
<files>
<file src="Microsoft.VisualStudio.TestPlatform.Extension.Junit.Xml.TestLogger.dll" target="build\_common\" />
Expand Down
2 changes: 1 addition & 1 deletion src/JUnit.Xml.TestLogger/JUnit.Xml.TestLogger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="15.5.0" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" />
</ItemGroup>
</Project>
97 changes: 0 additions & 97 deletions src/NUnit.Xml.Package/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/NUnit.Xml.Package/NUnit.Xml.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<None Update="README.md" Pack="true" PackagePath="">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="CHANGELOG.md" Pack="true" PackagePath="">
<None Include="$(SourceRoot)/CHANGELOG.md" Pack="true" PackagePath="">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/NUnit.Xml.Package/NUnitXml.TestLogger.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<projectUrl>https://github.com/spekt/nunit.testlogger</projectUrl>
<description>Xml logger for NUnit v3 compliant xml report when test is running with "dotnet test" or "dotnet vstest".</description>
<license type="expression">MIT</license>
<readme>docs/README.md</readme>
<icon>packageIcon.png</icon>
</metadata>
<files>
Expand Down
2 changes: 1 addition & 1 deletion src/NUnit.Xml.TestLogger/NUnit.Xml.TestLogger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="15.5.0" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/TestLogger/TestLogger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="15.5.0" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" />
</ItemGroup>

</Project>
72 changes: 0 additions & 72 deletions src/Xunit.Xml.Package/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/Xunit.Xml.Package/Xunit.Xml.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<None Update="README.md" Pack="true" PackagePath="">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="CHANGELOG.md" Pack="true" PackagePath="">
<None Include="$(SourceRoot)/CHANGELOG.md" Pack="true" PackagePath="">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Xunit.Xml.Package/XunitXml.TestLogger.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<projectUrl>https://github.com/spekt/xunit.testlogger</projectUrl>
<description>Xml logger for xunit when test is running with "dotnet test" or "dotnet vstest".</description>
<license type="expression">MIT</license>
<readme>docs/README.md</readme>
<icon>packageIcon.png</icon>
</metadata>
<files>
Expand Down
2 changes: 1 addition & 1 deletion src/Xunit.Xml.TestLogger/Xunit.Xml.TestLogger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="15.5.0" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="Moq" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
</ItemGroup>

<!-- Build test assets for acceptance tests -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="Moq" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 097dc22

Please sign in to comment.