Intellij-Plugin icon indicating copy to clipboard operation
Intellij-Plugin copied to clipboard

The skipped message should list the line number as well.

Open sswaroopgupta opened this issue 8 years ago • 2 comments

When I click on a given spec with validation error. It shows the following details

Skipped: dsfsdf
Filename: specs/aaa/example.spec
Message: Step implementation not found

Currently the failure message does not have the line number in the details. This detail is visible only when I click on the test suite among all the validation errors.

Version

Gauge version: 0.9.3.nightly-2017-09-13
Commit Hash: c3160bc

Plugins
-------
csharp (0.10.2.nightly-2017-07-25)
html-report (4.0.2.nightly-2017-08-07)
java (0.6.6.nightly-2017-09-13)

IDE version - 0.3.7.nightly-2017-09-14

sswaroopgupta avatar Sep 14 '17 06:09 sswaroopgupta

@sguptatw How can I reproduce this issue? I'm interested in attempting to fix it.

Thunderforge avatar Mar 14 '18 19:03 Thunderforge

@Thunderforge : Thanks for your interest. Kindly find the steps to replicate the issue.

Steps to replicate

  • Create a gauge-java project
  • add an unimplemented step to the example.spec
  • Run the specification
  • On the Test Explorer click on the skipped scenario.

The skip details are displayed.

Skipped: dsfsdf
Filename: specs/aaa/example.spec
Message: Step implementation not found

This gives only the filename and not the line number

sswaroopgupta avatar Mar 15 '18 07:03 sswaroopgupta