Test Started - aegoroff/msbuildteamcitytasks GitHub Wiki

Test start message

Introduction

Indicates that test has been started. Optional CaptureStandardOutput boolean attribute can be present in the TestStarted service message to identify whether to include output received between TestStarted and TestFinished messages as test output or not. The default value is false. If true standard output is reported as test output and standard error as test error output.

Details

Starts a test

    <TestStarted Name="test.name" />

Starts a test and captures standard output

    <TestStarted
        Name="test.name"
        CaptureStandardOutput="true"
    />

Starts a test full example (with all optional attributes)

    <TestStarted
        IsAddTimestamp="true"
        FlowId="1"
        Name="test.name"
        CaptureStandardOutput="true"
    />