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

Already on GitHub? Sign in to your account

Documentation and implementation of directives flag don't match #4

Open
davidben opened this Issue Jun 25, 2011 · 0 comments

Comments

Projects
None yet
1 participant

The documentation says that prove --directives and the corresponding argument to TAP::Harness override a choice of verbose and failures.

If set to a true value, only test results with directives will be displayed. This overrides other settings such as verbose or failures.

However, the current implementation allows passing --directives --failures and it will print both (as is reasonable). It appears the implementation once matched the description, but this got flipped in a2542a9. The documentation probably should be updated to match. (Or implementation restored to original logic, but I think the current logic makes much more sense. Otherwise you can't see both skipped and failed tests at the same time.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment