Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An Allure adapter for MSTest #446

Open
delatrie opened this issue Jan 16, 2024 · 0 comments
Open

An Allure adapter for MSTest #446

delatrie opened this issue Jan 16, 2024 · 0 comments
Labels
task:new feature Requesting new capability or software feature theme:mstest

Comments

@delatrie
Copy link
Contributor

Motivation

MSTest is among the three most popular unit test frameworks for C#. It's comparable to NUnit and xUnit.net by download counts (daily average for the last 6 weeks):

  • MSTest: 150k
  • NUnit: 210k
  • xUnit.net: 343k

While .trx files generated with dotnet test --logger trx are natively supported by both Allure Report and Allure TestOps, a dedicated adapter is missing making it impossible to add Allure-related data to the report.

Other information

Previously we were unable to implement such an adapter due to the lack of an extension API in MSTest. Now, in MSTest v2 there are some extension points that we can utilize. They're documented here: https://github.com/microsoft/testfx/tree/main/docs/RFCs. There is also an undocumented extension API that's worth taking a look at: https://github.com/search?q=repo%3Amicrosoft%2Ftestfx+IExtension&type=code&p=1

We should check these APIs on whether they allow us to implement an adapter and then proceed with the issue.

@delatrie delatrie self-assigned this Jan 16, 2024
@delatrie delatrie added the task:new feature Requesting new capability or software feature label Jan 16, 2024
@delatrie delatrie removed their assignment Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:new feature Requesting new capability or software feature theme:mstest
Projects
None yet
Development

No branches or pull requests

1 participant