gauge-csharp icon indicating copy to clipboard operation
gauge-csharp copied to clipboard

does not refactor step defined in a different project but same solution

Open sswaroopgupta opened this issue 8 years ago • 0 comments

Expected Behavior If a step is recognized as implemented, one should be able to refactor it.

Actual Behavior Getting the following message on command line

Cannot perform refactoring: Sequence contains no elements

0 specifications changed.

0 concepts changed.

0 files in code changed.

Steps to replicate

  1. Create a solution with a gauge project.
  2. Create another project foo
  3. Add foo as a dependency on the gauge project.
  4. Create a spec
Specification Heading
=====================
* xyz
  1. Add the implementation manually in foo.
  2. Execute the spec. It works fine.
  3. Now refactor from command line
gauge --refactor "xyz" "something"

It gives the above message

Version

Gauge version: 0.4.1.nightly-2016-05-30

Plugins
-------
csharp (0.7.3.nightly-2016-05-30)
html-report (2.1.1.nightly-2016-05-30)

sswaroopgupta avatar Jun 01 '16 05:06 sswaroopgupta