Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed Gemfile.lock because gherkin version prevented bundle install… #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 30 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
GEM
remote: https://rubygems.org/
specs:
builder (3.2.2)
coderay (1.1.0)
cucumber (1.3.18)
backports (3.11.4)
builder (3.2.3)
coderay (1.1.2)
cucumber (3.1.2)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
cucumber-core (~> 3.2.0)
cucumber-expressions (~> 6.0.1)
cucumber-wire (~> 0.0.1)
diff-lcs (~> 1.3)
gherkin (~> 5.1.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.1)
diff-lcs (1.2.5)
gherkin (2.12.2)
multi_json (~> 1.3)
method_source (0.8.2)
multi_json (1.10.1)
multi_test (0.1.1)
pry (0.10.1)
multi_test (>= 0.1.2)
cucumber-core (3.2.1)
backports (>= 3.8.0)
cucumber-tag_expressions (~> 1.1.0)
gherkin (~> 5.0)
cucumber-expressions (6.0.1)
cucumber-tag_expressions (1.1.1)
cucumber-wire (0.0.1)
diff-lcs (1.3)
gherkin (5.1.0)
method_source (0.9.1)
multi_json (1.13.1)
multi_test (0.1.2)
pry (0.12.0)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
rspec-expectations (3.1.2)
method_source (~> 0.9.0)
rspec-expectations (3.8.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
slop (3.6.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)

PLATFORMS
ruby
Expand All @@ -32,3 +40,6 @@ DEPENDENCIES
cucumber
pry
rspec-expectations

BUNDLED WITH
1.17.1
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Cucumber Basics

__Skill Level:__ Beginner
__Time Limit:__ 30 minutes
**Skill Level:** Beginner
**Time Limit:** 30 minutes

Write a feature test in Gherkin and implement `steps_definitions` that best match the intended behaviours and features requested by the 'client'

Expand All @@ -11,14 +11,17 @@ Write a feature test in Gherkin and implement `steps_definitions` that best matc
- Test the `Animal` object and ensure that it has the right output for its reader methods `name, type, age, old?`

## Instructions

1. Checkout the sample feature & steps defs named `greeter.feature` & `greeter_steps.rb`
2. `clone` your repo on to your computer
3. `cd` into your directory
4. `bundle` to pull in this project's dependencies
5. navigate to `features/animal.feature` and write your feature
6. navigate to `features/step_definitions/animal_steps.rb` and write your step defs
5. `bundle exec cucumber` to run cucumber tests
6. navigate to `features/animal.feature` and write your feature
7. navigate to `features/step_definitions/animal_steps.rb` and write your step defs

## Resources

- [http://cukes.info/](http://cukes.info/)
- [Cuke Docs: Step Definitions](https://cucumber.io/docs/reference#step-definitions)
- [RSpec Matchers](https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers)