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

Fix trx logger parses stdout on fail #845

Merged

Conversation

P-Hessler
Copy link
Contributor

[//]: # (
. Thank you so much for sending us a pull request!
.
. Make sure you have a clear name for your pull request.
. The name should start with a capital letter and no dot is required in the end of the sentence.
. To link the request with isses use the following notation: (fixes #123, fixes #321)
.
. An example of good pull request names:
. - Add Russian translation (fixes #123)
. - Add an ability to disable default plugins
. - Support emoji in test descriptions
)

Context

Previously, the standard output contained in the trx files was ignored by the trx plugin.

Now, the plugin appends this output to the StatusTrace for failing tests.

Checklist

Copy link
Member

@baev baev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like storing system output into stack trace. Could we split it into lines and create steps instead (one step per output line)? I guess that would be better

@P-Hessler
Copy link
Contributor Author

Sorry for the intermediate failing build. I changed the plugin to store the output in steps.

Copy link
Member

@baev baev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@baev baev merged commit 31de5e2 into allure-framework:master Oct 9, 2018
@baev
Copy link
Member

baev commented Oct 9, 2018

@P-Hessler good job, thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support tab separated attachments
2 participants