mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-01 18:40:15 +01:00
Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium.
This commit is contained in:
parent
7b432a74ed
commit
2c09db45c5
602 changed files with 47788 additions and 29 deletions
36
vendor/plugins/rspec/README
vendored
Normal file
36
vendor/plugins/rspec/README
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
== RSpec
|
||||
|
||||
RSpec is a Behaviour Driven Development framework with tools to express User Stories
|
||||
with Executable Scenarios and Executable Examples at the code level.
|
||||
|
||||
RSpec ships with several modules:
|
||||
|
||||
Spec::Story provides a framework for expressing User Stories and Scenarios
|
||||
|
||||
Spec::Example provides a framework for expressing Isolated Examples
|
||||
|
||||
Spec::Matchers provides Expression Matchers for use with Spec::Expectations
|
||||
and Spec::Mocks.
|
||||
|
||||
Spec::Expectations supports setting expectations on your objects so you
|
||||
can do things like:
|
||||
|
||||
result.should equal(expected_result)
|
||||
|
||||
Spec::Mocks supports creating Mock Objects, Stubs, and adding Mock/Stub
|
||||
behaviour to your existing objects.
|
||||
|
||||
== Installation
|
||||
|
||||
The simplest approach is to install the gem (as root in some environments):
|
||||
|
||||
gem install -r rspec
|
||||
|
||||
== Building the RSpec gem
|
||||
|
||||
If you prefer to build the gem locally:
|
||||
|
||||
git clone git://github.com/dchelimsky/rspec.git
|
||||
cd rspec
|
||||
rake gem
|
||||
gem install pkg/rspec-0.x.x.gem #as root
|
||||
Loading…
Add table
Add a link
Reference in a new issue