Skip to content

Test class logs are attached to all test cases in given test class #2278

Discussion options

You must be logged in to vote

Correct me if I'm wrong. The XML test report format is standarized (JUnit XML format with <testcase>,<testsuite> ...), but logs in *.txt are not, right?

There is no published schema (at least officially), and in fact, we are already supporting different dialects. Some frameworks may store log files in similar named files (by class name) but with a .txt extension. But I'm not aware of someone doing that except for Maven Surefire. At least in JUnit 5, the legacy reporter only produces XML files.

Allure itself supports JUnit.XML, XUnit2.Xml, XCTest and TRX results. However, all of these formats are usually quite limited in terms of the amount of stored data. That's why Allure provides inte…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@baev
Comment options

@MarcinKozak005
Comment options

@MarcinKozak005
Comment options

@baev
Comment options

Answer selected by baev
@MarcinKozak005
Comment options

@aptester
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2277 on January 09, 2024 10:46.