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

Include bdd hierarchical structure in json reporter #926

Closed
benjamine opened this issue Jul 16, 2013 · 2 comments
Closed

Include bdd hierarchical structure in json reporter #926

benjamine opened this issue Jul 16, 2013 · 2 comments

Comments

@benjamine
Copy link

I want to grab json test results and generate a report later using a template engine like jade.
As json reporter doesn't have that info I see no programmatic way to get the BDD hierarchy (describe/before/after/it/codeblock) to process or reconstruct an UI like the one mocha presents on the browser version.

Basically what I want is a json reporter that includes all test output data, including bdd structure (if exists), code blocks, and error stack traces.

@tj
Copy link
Contributor

tj commented Aug 9, 2013

yeah ideally we do this and build the other reporters on top of the stream (we've got a few issues open for that)

@tj tj closed this as completed Aug 9, 2013
@RickyJiao
Copy link

Actually, we have similar requirement. We want to generate a HTML report with jade engine and email to team member. But I cannot get the report.json with hierarchical structure. Did you have any solution for bdd hierarchical structure?

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

3 participants