Skip to content

Allow placeholders in --report-trx-filename #5364

Description

@Youssef1313

Summary

Allow placeholders in --report-trx-filename. So, users can do --report-trx-filename MyFile_<target_framework>.trx

Background and Motivation

In VSTest, LogFilePrefix was supported. This is something we currently lack in MTP.

Proposed Feature

A more flexible solution, to allow placeholders in --report-trx-filename.

We can start with the following placeholders:

<assembly_name>
<target_framework>
<timestamp>
<process_id>

Alternative Designs

Add a new command-line option, --report-trx-file-prefix. Only one of --report-trx-filename and --report-trx-file-prefix can be used at the same time.
But placeholders can be more flexible.

Metadata

Metadata

Assignees

Labels

area/mtpMicrosoft.Testing.Platform core library.area/mtp-extensionsMTP extensions (TrxReport, Retry, HtmlReport, ...).area/trxTRX report extension.

Fields

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions