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 suite (fixes #749) #844

Merged
merged 3 commits into from
Oct 9, 2018

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 trx plugin read only the name of a test. Thereby, each test ended up in an own package/suite.

Now, the plugin reads the className attribute of the testMethod element in the trx files and stores this name as Suite, TestClass and Package. Furthermore, the className along with the name of the testMethod is used as FullName and HistoryId.

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.

LGTM in general 👍

@P-Hessler
Copy link
Contributor Author

Your requested changes make sense. I included them.

@baev
Copy link
Member

baev commented Oct 9, 2018

@P-Hessler could you please rebase from master?

@P-Hessler P-Hessler force-pushed the Parse_Suite_in_Trx_Plugin branch from 5e07d1c to b2fe7a6 Compare October 9, 2018 12:52
@P-Hessler
Copy link
Contributor Author

I hope I didn't screw anything. It was my first time rebasing a fork.

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

baev commented Oct 9, 2018

@P-Hessler 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