-
-
Notifications
You must be signed in to change notification settings - Fork 473
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
Add support for NUnit3 XML-reports #2208
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Reverts commit 96908c3 . Assembly-suite are shown as test file in reports (ex. Azure DevOps) which are usefull. Caching result of Get-RunTimeEnvironment to reduce perf impact of duplicated environment-elements.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
also extracts suite site-attribute calculation to own function
I think this is finally ready for review and a experimental release. I regret self-assigning this task. The only thing worse than no official schema is schemas that doesn't match docs nor the original product's output. 😄 |
ReportUnit 1.5 seems to use |
Validating NUnit3 format is unaffected by pester#2143
PR Summary
Add initial support for NUnit3-compatible XML-reports for test results.
Features:
_TYPE
propertyInvoke-Pester
, not inExport/ConvertTo-NUnitReport
site
-attribute to identifyBeforeAll/AfterAll
vsTest
-failurename="TestBlock(1,2,3)"
when block or test name doesn't use variables-ForEach/TestCases
are used with dictionary-valuesLimitations:
name
is still full path fortest-case
-elements.fullname
-attribute as intended for NUnit3. See commentTODO:
PR Checklist
Create Pull Request
to mark it as a draft. PR can be markedReady for review
when it's ready.Fix #1087
Fix #1879
Fix #1284
Related #2039
Related #1530
Related #301
Related #2143