Closed maxmeyer closed 8 years ago
Exclude tests from normal test suite, say tag them as @documentation and run them only on CI
If you wanted to be more selective you could tag each scenario with a command for the dependency, and check for the dependency in a before hook, and skip the scenario if it’s not there.
That sounds good. Thanks @tooky.
That is what "active tags" are normally about :smile:
@dg-ratiodata Does this issue require any action in this repo? If not, I'm thinking it should be closed. @tooky what do you think?
@danascheider agreed, @dg-ratiodata please reopen it if we've missed something that needs to be done.
@danascheider @tooky I'm fine with closing it. I followed @tooky's recommendation and added before hooks.
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.
We've got an angoing discussion at https://github.com/cucumber/aruba/issues/362 about removing dependencies of aruba's test suite. Although this is normally a good thing, it's more "difficult" in this case. It's mainly about this feature which demonstrates that you can run any command with
aruba
.The problem is this: If a developer does not have zsh, java and the like installed, the test will fail and this is a "bad" developer experience.
I see the following options:
@documentation
and run them only on CIThe most reasonable one seems to be "1.". What would you suggest? Another option would be to add a switching telling cucumber to allow failing of arbitrary tagged features.
Thanks a lot.
Cheers, Dennis