-
In MSTest, I use TestContext.AddResultFile(String) to attach custom logiles, zip-files, screenshots from UI-Tests to testcontexts of failed tests. I'd really like to switch over to TUnit after reading your documentation. Since you offer a static TestContext singleton, I was wondering if one could somehow attach custom files when also using the Microsoft TRX nuget. These custom files then get uploaded to Azure DevOps automatically when publishing test results and can be viewed in their Azure Devops unit test explorer. My question is: Can I mimic this feature in TUnit? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The test context exposes an add artifact method. Would that suffice? If not let me know what you'd need. |
Beta Was this translation helpful? Give feedback.
The test context exposes an add artifact method. Would that suffice? If not let me know what you'd need.