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 a formatter that outputs simple_bdd Gherkin #17

Open
travisp opened this issue Mar 24, 2014 · 3 comments
Open

Add a formatter that outputs simple_bdd Gherkin #17

travisp opened this issue Mar 24, 2014 · 3 comments

Comments

@travisp
Copy link
Contributor

travisp commented Mar 24, 2014

No description provided.

@robb1e
Copy link
Owner

robb1e commented Apr 15, 2014

Hi @travisp can you give an example, or send a pull request? Would you want to pass in an optional stream during configuration and puts the string out?

@travisp
Copy link
Contributor Author

travisp commented Apr 16, 2014

Perhaps this should be better titled "Add the ability to add formatters around simple_bdd Gherkin steps". My thought is that it should fire extra formatter events, similar to cucumber ( https://github.com/cucumber/cucumber/wiki/Custom-Formatters ), around steps and groupings, which would allow this output to different types of formatters (including html formatters for documentation)

simple_bdd has both gherkin steps and a number of methods for wrapping related behaviors(behavior, it_also, etc.), but none of these are provided to formatters.

I may have something to provide for a PR in a bit.

@robb1e
Copy link
Owner

robb1e commented Apr 18, 2014

Ok, I see where you're going. Yeah, send a pull request when you have something. I'd be interested to see the direction you're thinking.

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