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

Growl 1.3, Cucumber wiki link, Relish feature documentation #3

Open
wants to merge 9 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
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--color
--format documentation
--require spec_helper
40 changes: 20 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ GEM
specs:
archive-tar-minitar (0.5.2)
builder (3.0.0)
cucumber (1.0.0)
cucumber (1.1.3)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.4.1)
gherkin (~> 2.6.7)
json (>= 1.4.6)
term-ansicolor (>= 1.0.5)
diff-lcs (1.1.2)
gherkin (2.4.1)
term-ansicolor (>= 1.0.6)
diff-lcs (1.1.3)
gherkin (2.6.8)
json (>= 1.4.6)
git (1.2.5)
growl_notify (0.0.1)
growl_notify (0.0.3)
rb-appscript
guard (0.6.3)
guard (0.8.8)
thor (~> 0.14.6)
guard-cucumber (0.6.2)
guard-cucumber (0.7.4)
cucumber (>= 0.10)
guard (>= 0.4.0)
guard-rspec (0.4.4)
guard (>= 0.4.0)
guard (>= 0.8.3)
guard-rspec (0.5.7)
guard (>= 0.8.4)
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
json (1.5.3)
json (1.6.1)
mime-types (1.17.2)
rake (0.9.2.2)
rb-appscript (0.6.1)
Expand All @@ -39,15 +39,15 @@ GEM
rest-client (>= 1.6.1)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
rspec-mocks (~> 2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
term-ansicolor (1.0.5)
rspec-mocks (2.7.0)
term-ansicolor (1.0.7)
thor (0.14.6)

PLATFORMS
Expand Down
6 changes: 5 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Building a Conways' Game of Life simulator is a great way to practice different techniques in the language of your choice. This git repository contains a set of cucumber features that describe the rules of Conway's Game of Life. I've also included a few standard, larger patterns that you can use to check multiple generation evolution.

== Relish Features

Familiarize yourself with the features at: https://www.relishapp.com/esambo/practice-game-of-life/

== How to use

Fork this repo on github, clone to your local machine and start working. Thanks to the cucumber team's efforts in integrating cucumber with multiple languages, these features can be used to drive development in many different languages, most likely your favorite one.
Expand All @@ -20,7 +24,7 @@ See the wikipedia article on Conway's Game of Life:
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

See the wiki for Cucumber:
http://github.com/aslakhellesoy/cucumber
https://github.com/cucumber/cucumber/wiki/

== Copyright

Expand Down
13 changes: 13 additions & 0 deletions features/step_definitions/game_of_life_steps.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Given /^the following setup$/ do |table|
# table.raw
pending
end

When /^I evolve the board$/ do
pending
end

Then /^the center cell should be dead$/ do
pending
end

5 changes: 1 addition & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'game_of_life'
require 'rspec'
require 'rspec/autorun'

RSpec.configure do |config|
# == Mock Framework
Expand All @@ -14,3 +10,4 @@
# config.mock_with :rr
config.mock_with :rspec
end