CARVIEW |
rspec / rspec-core
- Source
- Commits
- Network (6)
- Issues (5)
- Wiki (1)
- Graphs
-
Tag:
v2.0.0.a4
click here to add a description
click here to add a homepage
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Rspec-2 runner and formatters — Read more
name | age | message | |
---|---|---|---|
![]() |
.document | Mon Jan 25 00:45:03 -0800 2010 | words [dchelimsky] |
![]() |
.gitignore | Loading commit data... ![]() |
|
![]() |
.treasure_map.rb | Sat Aug 29 07:59:59 -0700 2009 | Fixing one more beholder issue [spicycode] |
![]() |
License.txt | Mon Jun 29 09:06:59 -0700 2009 | Correcting the spelling of my name [spicycode] |
![]() |
README.markdown | ||
![]() |
Rakefile | ||
![]() |
TODO.markdown | Wed Sep 09 06:26:46 -0700 2009 | Adding behaviour -> example group to TODO list [spicycode] |
![]() |
bin/ | Thu Jan 28 22:07:56 -0800 2010 | add load paths and requires to cuke env [dchelimsky] |
![]() |
cucumber.yml | Fri Oct 16 08:40:52 -0700 2009 | Upgrading to cucumber 0.4.2, and noting dev dep... [spicycode] |
![]() |
example_specs/ | ||
![]() |
features-pending/ | ||
![]() |
features/ | Sun Jan 31 20:56:33 -0800 2010 | Apply :line_number filter to example and its gr... [dchelimsky] |
![]() |
lib/ | ||
![]() |
rspec-core.gemspec | ||
![]() |
script/ | Mon Jun 29 13:50:19 -0700 2009 | Spec->Rspec. Refactoring complete [spicycode] |
![]() |
spec/ | ||
![]() |
specs.watchr | Fri Jan 15 08:45:37 -0800 2010 | Updating watchr to use pretty format [spicycode] |
RSpec Core
rspec-core includes the runner, output formatters, and the rspec
command.
rspec-core is currently in alpha release. While you are welcome to track, fork, explore, etc, we're too early in the process to start fielding pull requests and or issues from outside the core development team, so please don't waste your time until this notice changes.
Install
[sudo] gem install rspec --prerelease
This will install rspec, rspec-core, rspec-expectations and rspec-mocks.
Known Issues
Ruby-1.9
Due to changes in scoping rules in 1.9, classes defined inside example groups are not visible to the examples. For example:
describe "something" do
class Foo
end
it "does something" do
Foo.new
end
end
This runs without incident in ruby-1.8, but raises an uninitialized constant
error in ruby-1.9. We had solved this in rspec-1.x, but rspec-2 has a slightly
different object model, so this has (for the moment) reared its ugly head. We'll
certainly resolve this before rspec-core-2.0.0 (final) is released.
You can, of course, fully qualify the declaration and everything works fine:
describe "something" do
class ::Foo
end
it "does something" do
Foo.new
end
end