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

When BeforeSpec fails the spec's scenario details are not getting displayed #108

Open
sswaroopgupta opened this issue Nov 7, 2016 · 2 comments
Labels

Comments

@sswaroopgupta
Copy link

Expected behavior
When a before Spec fails, the spec's scenario details should be displayed.

Actual behavior
When a before Spec fails, only the spec's comment is being displayed

**Steps to replicate

  1. Create a spec with multiple scenarios
  2. Add an implementation with failure in Before spec
  3. run the specs and check the HTML report

before_spec_failed

Version

Gauge version: 0.6.3.nightly-2016-11-06

Plugins
-------
csharp (0.9.2.nightly-2016-09-14)
html-report (2.2.0.nightly-2016-11-07)
java (0.5.1.nightly-2016-11-03)
ruby (0.3.2.nightly-2016-08-22)
spectacle (0.0.1)
xml-report (0.1.4.nightly-2016-07-25)
@mahendrakariya
Copy link
Contributor

Dev notes:

We will have to change Gauge core to send back unexecuted scenarios as a part of SuiteResult object. Currently, in case of a BeforeSpec failure, the result doesn't have the scenarios as they are not executed.

@sswaroopgupta
Copy link
Author

Able to replicate in

Gauge version: 1.0.1.nightly-2018-07-31
Commit Hash: 4ae7c9a

Plugins
-------
html-report (4.0.5.nightly-2018-07-25)

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

No branches or pull requests

2 participants