Reorganize TestResuls-code into format-specific files#2348
Conversation
There was a problem hiding this comment.
PSScriptAnalyzer found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
| $xmlWriter = $null | ||
| try { | ||
| $stringWriter = & $SafeCommands["New-Object"] IO.StringWriter | ||
| $stringWriter = & $SafeCommands['New-Object'] IO.StringWriter |
Check notice
Code scanning / PSScriptAnalyzer
The built-in *-Object-cmdlets are slow compared to alternatives in .NET. To fix a violation of this rule, consider using an alternative like `foreach/for`-keyword etc.`.
| $xmlWriter = $null | ||
| try { | ||
| $stringWriter = & $SafeCommands["New-Object"] IO.StringWriter | ||
| $stringWriter = & $SafeCommands['New-Object'] IO.StringWriter |
Check notice
Code scanning / PSScriptAnalyzer
The built-in *-Object-cmdlets are slow compared to alternatives in .NET. To fix a violation of this rule, consider using an alternative like `foreach/for`-keyword etc.`.
|
Something to consider: Deprecate public |
cc24b4a to
8437118
Compare
PR Summary
TestResults.ps1as they're used for both NUnit 2.5 and 3. Same might apply to JUnit4 and ex. JUnit5 in the future.release.ps1to verify all mandatory files are available in buildGet-HumanTimetoOutput.ps1where it's usedExit-WithCodehelper.PR Checklist
Create Pull Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.