You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when looking at junit-results.xml the system-out is not linked to the test case but the test suite. And it contains irelevant information. Additionnally the CDATA is missing
<testsuites>
<testsuitename="TodoApp.Test.dll"tests="1"skipped="0"failures="0"errors="0"time="2.1181359"timestamp="2024-12-05T07:43:38"hostname="NB27764"id="0"package="TodoApp.Test.dll">
<properties />
<testcaseclassname="TodoApp.Test.ApiTests"name="HasTitle"time="2.1181359" />
<system-out>[[ATTACHMENT|TodoApp.Test/bin/Debug/net8.0/title.png]]
Test Framework Informational Messages:
NUnit Adapter 4.6.0.0: Test execution started
Running selected tests in ******/ci-dotnet-core/TodoApp.Test/bin/Debug/net8.0/TodoApp.Test.dll
NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current Discovery mode, Non-Explicit run
[[ATTACHMENT|TodoApp.Test/bin/Debug/net8.0/title.png]]
NUnit Adapter 4.6.0.0: Test execution complete
</system-out>
<system-err></system-err>
</testsuite>
</testsuites>
I can try but for the moment I'm struggling to run acceptance tests on my environment (.NET 8.0 / WSL2)
I'm not familiar with .NET environment
I don't know what was decided at the end, but my idea would be simple for the moment
Update the xsd schema by allowing system-out and system-err at the testcase level in order to support the [[ATTACHMENT syntax used by gitlab and jenkins (https://plugins.jenkins.io/junit-attachments/)
I haven't tried building this repo in WSL2. What's the error?
Update the xsd schema by allowing system-out and system-err at the testcase level in order to support the [[ATTACHMENT syntax used by gitlab and jenkins (https://plugins.jenkins.io/junit-attachments/)
Hi,
First of all thanks for this great project, it's super useful.
I'm running
nunit
andjunit
logger because I need both format to be imported on 3rd party tool.When looking at the
nunit-results.xml
everything is correct.The test only output
But when looking at
junit-results.xml
thesystem-out
is not linked to the test case but the test suite. And it contains irelevant information. Additionnally the CDATA is missingI would expect to see something like
I have compared with other junit format and the
system-out
is well supported fortestcase
blockFor example
dotnet test --settings:ui.runsettings.
Expected behavior
A clear and concise description of what you expected to happen.
Other details
dotnet test --diag:log.txt
On don't think there is anything useful there, but I can provide if neededThanks
The text was updated successfully, but these errors were encountered: