-
-
Notifications
You must be signed in to change notification settings - Fork 479
Description
Summary of the feature request
I have a script that generates a log file. I want to associaite that log file with a specific test case.
My pester tests call my script and I pass in different inputs. The script returns a data object that I assert on. It also returns information about the log file. I would like to be able to include the log file as a property for the test-case in my output. I'm currently using NUnitXml but am open to switching if something like this exists somewhere else.
I'm running my pester tests as part of an Azure DevOps pipeline. After I run the Publish Test Results task, I would like to run another script that adds the log files as an attachment to each test. This way, when the a test fails I can easily view the logs for the script from the ADO test tab. Right now, it's not possible to know which log is associated with which test.