Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Deprecated, since native support for TRX results format was introduced in Allure 2

License

Notifications You must be signed in to change notification settings

allure-framework/allure-mstest

Repository files navigation

MSTestAllureAdapter

Build Status

MSTestAllureAdapter allows you convert an MSTest trx file to the XMLs from which an Allure report can be generated.

Because MSTest does not have an extension or hook mechanism this adapter cannot run as part of MSTest but instead it converts the resulting trx file to the xml format expected by allure.

It is a .NET/Mono based console application.

Usage

MSTestAllureAdapter.Console.exe <TRX file> [output target dir]

If '[output target dir]' is missing the reslts are saved in the current directory in a folder named 'results'.

$ mono MSTestAllureAdapter.Console.exe sample.trx 

This will generate the xml files from which the allure report can be created based upon the 'sample.trx' file.

$ mono MSTestAllureAdapter.Console.exe sample.trx output-xmls

This will generate the xml files from which the allure report can be created in a folder named 'output-xmls' based upon the 'sample.trx' file.

If the target directory does not exists it is created.

To generate a report using allure-cli:

$ allure generate output-xmls -v 1.4.0

About

Deprecated, since native support for TRX results format was introduced in Allure 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages