All Projects → allure-framework → Allure Mstest

allure-framework / Allure Mstest

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

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].