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

Add Result#non_zero_exit_status? #92

Merged
merged 3 commits into from
Jun 10, 2015
Merged

Conversation

brasmusson
Copy link
Contributor

This could simplify logic where Pending and Undefined results in strict mode shall be handled in the same way as Failed results.

The first to use it is the JUnit Formatter (cucumber/common#855)

@mattwynne
Copy link
Member

The name here seems very coupled to a command-line UI.

How about just having an ok? method instead?

@brasmusson
Copy link
Contributor Author

The naming is the hard part here. When the 5-6 result types shall be mapped to the binary "yes/no", "true/false", "1/0" what should the name be? "Passed/Failed" feel intuitively right, but wait it is already taken to mean something else. I am ok with ok? 😄

brasmusson and others added 3 commits June 10, 2015 12:54
This could simplify logic where Pending and Undefined results in strict
mode shall be handled in the same way as Failed results.
@mattwynne mattwynne force-pushed the result-non-zero-exit-status branch from 22e6a87 to 26f79d6 Compare June 10, 2015 19:55
@mattwynne mattwynne merged commit 26f79d6 into master Jun 10, 2015
@mattwynne
Copy link
Member

I made the executive decision to use my preferred name :)

@brasmusson brasmusson deleted the result-non-zero-exit-status branch June 10, 2015 20:18
@lock
Copy link

lock bot commented Oct 24, 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 24, 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