Add support for NUnit3 XML-reports#2208
Merged
nohwnd merged 22 commits intopester:mainfrom May 6, 2023
Merged
Conversation
Collaborator
Author
|
/azp run |
Contributor
|
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.
Collaborator
Author
|
/azp run |
Contributor
|
Azure Pipelines successfully started running 1 pipeline(s). |
also extracts suite site-attribute calculation to own function
Collaborator
Author
|
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. 😄 |
Collaborator
Author
|
ReportUnit 1.5 seems to use |
fflaten
commented
Mar 22, 2023
fflaten
commented
Mar 22, 2023
fflaten
commented
Mar 22, 2023
fflaten
commented
Mar 22, 2023
This was referenced Mar 31, 2023
Validating NUnit3 format is unaffected by pester#2143
nohwnd
approved these changes
May 6, 2023
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Add initial support for NUnit3-compatible XML-reports for test results.
Features:
_TYPEpropertyInvoke-Pester, not inExport/ConvertTo-NUnitReportsite-attribute to identifyBeforeAll/AfterAllvsTest-failurename="TestBlock(1,2,3)"when block or test name doesn't use variables-ForEach/TestCasesare used with dictionary-valuesLimitations:
nameis still full path fortest-case-elements.fullname-attribute as intended for NUnit3. See commentTODO:
PR Checklist
Create Pull Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.Fix #1087
Fix #1879
Fix #1284
Related #2039
Related #1530
Related #301
Related #2143