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

Enhanced JUnit Exception Reporting #185

Closed
wants to merge 2 commits into from
Closed

Enhanced JUnit Exception Reporting #185

wants to merge 2 commits into from

Conversation

klausbayrhammer
Copy link
Contributor

The error reporting (at least in Intellij) had a problem tagging a scenario as failed when a step in this scenario failed (see screenshots).

BeforeFix:
http://rapidshare.com/files/2746712222/JUnitBefore.png

AfterFix:
http://rapidshare.com/files/3491825542/JUnitEnhancedScenarioInformation.png

@aslakhellesoy
Copy link
Contributor

Awesome! This bug has annoyed me for a while.

@dkowis
Copy link
Member

dkowis commented Feb 1, 2012

How does it behave when a Before hook fails? After hook?

Just curious.

@klausbayrhammer
Copy link
Contributor Author

If the before hook fails, the scenario is tagged as "failed", steps are tagged as "skipped"
(see http://rapidshare.com/files/4205200393/BeforeHookFails.png)

If the after hook fails the scenario is tagged as "failed", all steps are tagged as "passed"
(see http://rapidshare.com/files/1265594566/AfterHookFails.png)

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants