Meziantou.GitLab.TestLogger 1.0.3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Meziantou.GitLab.TestLogger --version 1.0.3
NuGet\Install-Package Meziantou.GitLab.TestLogger -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.GitLab.TestLogger" Version="1.0.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Meziantou.GitLab.TestLogger --version 1.0.3
#r "nuget: Meziantou.GitLab.TestLogger, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Meziantou.GitLab.TestLogger as a Cake Addin
#addin nuget:?package=Meziantou.GitLab.TestLogger&version=1.0.3

// Install Meziantou.GitLab.TestLogger as a Cake Tool
#tool nuget:?package=Meziantou.GitLab.TestLogger&version=1.0.3

Test logger for dotnet test / vstest. The output is similar to the default console logger but it uses some GitLab specific features such as

  • Ansi color
  • Collapsible sections

How to use it:

Add the NuGet package to your project:

dotnet add package Meziantou.GitLab.TestLogger

Add a RunSettings file with the following content:

<RunSettings>
  
  <LoggerRunSettings>
    <Loggers>
      
      <Logger friendlyName="console" enabled="False" />

      
      <Logger friendlyName="gitlab">
        <Configuration>
          <verbosity>minimal</verbosity>
          <collapseStackTraces>false</collapseStackTraces>
          <collapseErrorMessages>false</collapseErrorMessages>
          <collapseStandardOutput>true</collapseStandardOutput>
          <collapseStandardError>true</collapseStandardError>
          <collapseDebugTraces>true</collapseDebugTraces>
          <collapseAdditionalInfoMessages>true</collapseAdditionalInfoMessages>
          <expandSectionText> (click to exanpand)</expandSectionText>
          <smartOutput>false</smartOutput>
      </Configuration>
      </Logger>
    </Loggers>
  </LoggerRunSettings>
</RunSettings>

Run the test using --settings

dotnet test --settings "<runsettings file path>"
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 270 2/7/2023
1.0.2 241 2/6/2023
1.0.1 272 2/6/2023
1.0.0 276 2/4/2023