Turnip Versions Save

Gherkin extension for RSpec

v3.0.0.pre.beta.1

7 years ago

Goal of version 3.0.0

3.0.0-beta.1

  • Use Gherkin4 [GH-184]

v2.1.1

7 years ago

Bug Fixes

  • String without quotes is devided needless [GH-182] [GH-179]

v2.1.0

8 years ago

Support Policy

  • Turnip supports Ruby 2.1.0+ (remove 2.0.x) [GH-178]

Features

  • Provide a default regexp for custom placeholder [GH-173] [GH-177]
placeholder :user_name do
  match /admin: (.*)/ do |user_name|
    User.find_by!(name: user_name, role: :admin)
  end

  default do |user_name|
    User.find_by!(name: user_name)
  end
end

v2.0.2

8 years ago

INTERNAL

Dependency

Lock gherkin version to 2.x [GH-169] [GH-170]

v2.0.1

8 years ago

Features

  • Display background steps on documentation format [GH-166] [GH-167]

v2.0.0

8 years ago

IMPORTANT

Changes for RSpec support version. [GH-158]

  • Support RSpec 3.x the latest or one version before
  • Does not support two version before the latest or earlier
  • Does not work on RSpec 2 or earlier

Example If the latest version is 3.4.x:

  • Support 3.4.x
  • Support 3.3.x
  • Does not support 3.2.x
  • Does not support 3.1.x
  • Does not support 2.x.y

v1.3.1

8 years ago

Support for RSpec 3.3.x [GH-157]

v1.3.0

9 years ago

Policy

Turnip supports 1.9.x no longer [GH-150]

Fix

Suppress unused variable warning [GH-145]

v1.2.4

9 years ago

Bug Fixes

  • Run the spec files unexpected when --pattern option is specified [GH-143] [GH-144]
    • This problem occurs in RSpec 3.0.4 or higher
  • Fix order of the backtrace [GH-142]

v1.2.3

9 years ago

Features

Considered failure scenario that have unimplemented steps.

[GH-133]

Apply if you set below:

RSpec.configure do |config|
  config.raise_error_for_unimplemented_steps = true
end

Output the step keyword on documentation format

[GH-139]

Previous output:

A simple feature
  This is a simple feature
    there is a monster -> I attack it -> it should die

New output:

A simple feature
  This is a simple feature
    Given there is a monster -> When I attack it -> Then it should die

Plural names as Placeholder

[GH-140]

Previous version:

placeholder :password do
  match /valid/ do
    '[email protected]'
  end
end

placeholder :confirmation_password do
  match /valid/ do
    '[email protected]' # same ...
  end
end

New version:

placeholder :password, :confirmation_password do
  match /valid/ do
    '[email protected]'
  end
end

Minor fixes

For backtrace:

  • Catch ExpectationNotMetError explicitly on RSpec 3 [GH-137]
  • Failure/Error message is wrong (fix backtrace) [GH-141]

Compatibility

  • Drop support for RSpec 2.13 or older [GH-132]

Development

  • Testing RSpec 2.14.x / 2.99.x / 3.0.x on TravisCI [GH-131]
  • Suppress warning when run RSpec [GH-131] [GH-134]