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

Enable limiting stack traces to failure section #26

Closed
pmowrer opened this issue Feb 20, 2015 · 2 comments
Closed

Enable limiting stack traces to failure section #26

pmowrer opened this issue Feb 20, 2015 · 2 comments

Comments

@pmowrer
Copy link

pmowrer commented Feb 20, 2015

The report gets pretty verbose when both stack traces and the failure section are enabled since the stack traces end up being reported twice. Personally, I think it would be easier to read the report if the stack traces were only shown in the failure section, but there's currently no combination of options that would enable this.

@gmhenderson
Copy link

+1

bcaudan added a commit that referenced this issue May 9, 2015
* all: display stacktraces for failed specs and in failures summary.
* specs: display stacktraces for failed specs only.
* summary: display stacktraces in failures summary only.
* none: do not display stacktraces.
@bcaudan
Copy link
Owner

bcaudan commented May 9, 2015

To limit stack traces to failure section, you could use the option:

{
  displayStacktrace: 'summary',
  ...
}

Will be available in v2.2.0 and v1.2.0, soon to be released!

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

No branches or pull requests

3 participants