Skip to content
This repository

Acceptance testing with Cucumber using a git-based wiki to store feature stories

branch: add-rvmrc

This branch is 4 commits ahead and 162 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .ruby-version
Octocat-spinner-32 Gemfile Initial commit with gem skeleton. October 11, 2012
Octocat-spinner-32 LICENSE.txt Refactoring into smaller more granular methods November 01, 2012
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 gitnesse.gemspec
README.md

Gitnesse

Gitnesse is a Cucumber-wiki integration tool. It enables a project to store cucumber features in a git-based wiki, and then test them against your code. Conceptually influenced by Fitnesse http://fitnesse.org/

Installation

Add this line to your application's Gemfile:

gem 'gitnesse'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gitnesse

For Rails 3, create an initializer file config/initializer/gitnesse.rb like this:

Gitnesse.config do |config|
  config.repository_url = "git@github.com:hybridgroup/gitnesse-demo.wiki"
end

Usage

For Rails 3 there is a rake task:

$ rake gitnesse

Not Rails 3 ? There is available an executable that requires the path to the configuration file:

$ GITNESSE_CONFIG='./gitnesse_config.rb' gitnesse

Usage

For Rails 3 there is a rake task:

TODO

    - implement git push back to git wiki
    - rake tasks for push/pull/run

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.