Objects matching the expression 'rspec'
- #824 specs cannot be run without rake (confine, rspec)
- #1156 Add rspec tests for lib/puppet/util/loadedfile.rb (rspec)
- #1237 RSpec tests do not work when Mongrel is not available. (mongrel, rspec)
- #1244 User type RSpec tests fail as non-root (rspec, test, user)
- #1259 Puppet::Indirector::REST and Puppet::Network::Server tests fail without mongrel (mongrel, rspec)
- WritingTests Puppet currently (as of May 2008) has a large, existing code base of tests written in test/unit, in the test/ subdirectory of Puppet's SCM repository. These were largely written while Luke was still learning how to write tests, and their quality varies widely. There is also an ever-growing list of tests written in RSpec_, in the spec/ subdirectory. These tests are all relatively modern, and most of them are well-written. The directory structure under each directory is set up to reflect the directory structure of the rest of the project. Each test is individually executable. In general, *only new RSpec tests should be added*. In fact, you'll often find it's easier to start from scratch with RSpec tests than it is to modify existing test/unit tests. Testing Tools (rspec, testing, tests)