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

Allow to specify output format for test results #13

Open
sterago opened this issue Jul 28, 2015 · 1 comment
Open

Allow to specify output format for test results #13

sterago opened this issue Jul 28, 2015 · 1 comment

Comments

@sterago
Copy link

sterago commented Jul 28, 2015

The vendor-ed Bats allows to specify the --tap option which shows the test results in TAP format. This is very useful in the context of continuous integration systems, where this kind of output can be easily parsed and interpreted.
Are there any plans to support this in busser-bats?

@artburkart
Copy link

artburkart commented Aug 6, 2016

If there are no plans to support this, would there be any interest in a PR? Actually, I'm not sure how many layers deep I'd need to go to get this functionality. Since I have no interest in using the default bats behavior, it might make more sense if I just fork the code and change the line in the runner_plugin/bats.rb where bats is called.

EDIT:
I ended up not using the kitchen verify step at all. Instead, I installed bats using my test playbook and executed the test suite using kitchen exec. This is not as flexible a solution, but it works well enough for my needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants