A dotnet core logger for logging tests results to TeamCity as service messages
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DotnetCore.TeamCityLogger
.gitignore
DotnetCore.TeamCityLogger.sln
LICENSE
Readme.md

Readme.md

DotnetCore.TeamCityLogger

Table of Contents

  1. Description
  2. Usage

Description

This library contains a dotnet core logger that can be used be used to log test results to a TeamCity server using service messages as descibed in the TeamCity documentation: https://confluence.jetbrains.com/display/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingTests

Usage

In order to use the library you can either:

  • Add the library as a reference to the test project
  • Add the DotnetCore.TeamCityLogger.dll to the dotnet extensions directory. E.g (note that your sdk install location make differ):
    • Windows: C:\Program Files\dotnet\sdk\2.0.0\Extensions
    • Linux: /usr/share/dotnet/sdk/2.0.0/Extensions/ After installation the logger can be used like a normal dotnet test logger: dotnet test --logger teamcity