Skip to content

rspec-steps are not compatible with rspec tags / filtering #30

Description

@ramunasm

Hello there,

I'm trying to use Rspec tags to execute only the tagged steps, the report seems to say that only the filtered steps have been ran, but I clearly see that all of the steps, even the ones with different tags / untagged are executed.

Sample code:

    it "should successfully log in", :mandatory do
        fill_in 'j_username', :with => username
        fill_in 'j_password', :with => password
        click_button('submit')
        expect(page).to have_text username
    end

    it "should do something other" do
        puts 'fail'
    end

Command used to run the tests:

rspec -t 'mandatory'

Is this a bug or am I doing it wrong?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions