Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Background.feature is nil (in Cucumber 2.0) #334

Closed
e2 opened this issue Mar 29, 2015 · 1 comment
Closed

Background.feature is nil (in Cucumber 2.0) #334

e2 opened this issue Mar 29, 2015 · 1 comment

Comments

@e2
Copy link

e2 commented Mar 29, 2015

Hi!

I'm trying to make my custom formatter to work again, but feature is nil here: https://github.com/guard/guard-cucumber/blob/master/lib/guard/cucumber/notification_formatter.rb#L47

(I'm using cucumber 2.0 and gherkin 2.12.2)

My feature file is pretty standard:

Feature: using Guard API

  In order to reuse existing Guard functionality
  As a user
  I want to call Guard API without Guard

  Background: Guard is installed through bundler
    Given my Gemfile includes "gem 'rake'"
    And Guard is bundled using source
   # (...)

Is Background#feature supposed to be available?

I can work around this - I just wanted to report this and/or find out what's recommended/etc.

@brasmusson
Copy link
Contributor

Closing this in favour of cucumber/cucumber-ruby-core#84 (where the root cause lies).

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

No branches or pull requests

2 participants