Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Let the Java JSON Formatter handle output and embeddings in hooks #289

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brasmusson
Copy link
Contributor

cucumber/cucumber-jvm#638 showed that the Java JSON Formatter does not handle output and embeddings in hooks properly (that is calls to cucumber.api.scenario.write() and cucumber.api.scenario.embed() in hooks). This PR should fix this.

@dclancey
Copy link

dclancey commented Jun 9, 2014

I have run into issues with Java JSON Formatter using the write(String) and embedding(String, byte[]) methods. In particular List is output as a Java OID, not as a JSON array.

I would be desirable to use the existing JSON Formatter to add some custom output than re-implement a Formatter and Reporter just to capture that additional data.

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