Skip to content
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

No system-out element in JUnit XML logfile #6098

Closed
dmitryuk opened this issue Jan 10, 2025 · 0 comments
Closed

No system-out element in JUnit XML logfile #6098

dmitryuk opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
feature/logging/junit Issues related to logging test results in JUnit XML format feature/logging Issues related to logging test results type/bug Something is broken version/10 Something affects PHPUnit 10 version/11 Something affects PHPUnit 11

Comments

@dmitryuk
Copy link

I tried to implement acceptance screenshots testing using Symfony Pather, Phpunit and gitlab.
As you can see https://docs.gitlab.com/ee/ci/testing/unit_test_reports.html#view-junit-screenshots-on-gitlab PhpUnit should save stdout to system-out tag, but I didn't find any functional for this
see JunitXmlLogger.php
How it can be implemented?

@dmitryuk dmitryuk added the type/enhancement A new idea that should be implemented label Jan 10, 2025
@sebastianbergmann sebastianbergmann added the feature/logging Issues related to logging test results label Jan 10, 2025
@sebastianbergmann sebastianbergmann changed the title No system-out tag in PHPUnit >= 10 No system-out element in JUnit XML logfile Jan 10, 2025
@sebastianbergmann sebastianbergmann self-assigned this Jan 10, 2025
@sebastianbergmann sebastianbergmann added type/bug Something is broken version/10 Something affects PHPUnit 10 version/11 Something affects PHPUnit 11 and removed type/enhancement A new idea that should be implemented labels Jan 10, 2025
nuernbergerA added a commit to nuernbergerA/pest that referenced this issue Jan 20, 2025
@sebastianbergmann sebastianbergmann added the feature/logging/junit Issues related to logging test results in JUnit XML format label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/logging/junit Issues related to logging test results in JUnit XML format feature/logging Issues related to logging test results type/bug Something is broken version/10 Something affects PHPUnit 10 version/11 Something affects PHPUnit 11
Projects
None yet
Development

No branches or pull requests

2 participants