Closed achim-t closed 1 year ago
-AppendToJUnitResultFile is a switch parameter, you use it as a string parameter. The right command would be: Run-TestsInBcContainer -containerName $containerName -testCodeunit 132501 -credential $credential -detailed -JUnitResultFileName "C:\ProgramData\BcContainerHelper\testresult.xml" -AppendToJUnitResultFile
Describe the issue Running the following command targetting a container without multi-tenancy leads to an error.
Scripts used to create container and cause the issue
Full output of scripts
I did run
Run-TestsInBcContainer -containerName $containerName -testCodeunit 132500 -credential $credential -detailed -JUnitResultFileName "C:\ProgramData\BcContainerHelper\testresult.xml"
before successfully to initially create the JUnit result file.XUnit behaves the same.
Edit to Add: If I specify the tenant as default the AppendToJUnitResultFile parameter is used as company name.