Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add feature title as classname to junit testcase output #1322

Merged
merged 3 commits into from
Oct 29, 2020

Conversation

steefmin
Copy link
Contributor

You can setup gitlab to parse junit output of testruns. When doing this for behat, the "Suite" name is empty. Normally this is filled by parsing the classname tag of the testcase. This PR adds that to the behat junit formatter.

image

Copy link
Contributor

@ciaranmcnulty ciaranmcnulty left a comment

Choose a reason for hiding this comment

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

Looks ok to me - feels weird making it the 'class name' and using the title but I guess it's ok

CHANGELOG.md Outdated Show resolved Hide resolved
@ciaranmcnulty ciaranmcnulty merged commit 18db658 into Behat:master Oct 29, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants