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

Let JUnitReporter fire event(s) on the step notifier for every step #656

Conversation

brasmusson
Copy link
Contributor

In strict mode the JUnitReporter currently does not fire any event on the step notifier for undefined or pending steps (neither fireTestIgnored, nor fireTestStarted and fireTestFinished is called). Therefore the JUnit runner of Eclipse display wrong run count when this occurs.

junitrun

The JUnitReporter should for each call to Result either call fireTestIgnored, or call fireTestStarted and fireTestFinished on the step notifier. In strict mode undefined and pending steps should be treated as failed steps, so fireTestStarted and fireTestFinished should be called on the step notifier.

The JUnitReporter should for each call to Result either call
fireTestIgnored, or call fireTestStarted and fireTestFinished on the
step notifier. In strict mode undefined and pending steps should be
treated as failed steps, so fireTestStarted and fireTestFinished should
be called on the step notifier.
@aslakhellesoy aslakhellesoy merged commit 76b3b57 into cucumber:master Jun 26, 2014
aslakhellesoy added a commit that referenced this pull request Jun 26, 2014
@brasmusson brasmusson deleted the junit-reporter-fire-on-step-notifier-for-every-step branch June 28, 2014 08:31
@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.

2 participants