puppetlabs-puppet/test
Luke Kanies 6f533d1127 Fixing #1247 -- no more clear_cache failures.
I had clearly only run spec/ since this work.
2008-05-25 16:01:26 -05:00
..
certmgr Changing the test/ classes so that they work from the main 2007-10-26 11:26:57 -05:00
data New native ssh_authorized_key type 2008-05-07 22:04:07 +02:00
executables The master and client now successfully speak xmlrpc using the new system. 2008-05-07 12:29:58 -05:00
language Merge branch '0.24.x' 2008-04-11 13:01:42 -05:00
lib Fixing #1247 -- no more clear_cache failures. 2008-05-25 16:01:26 -05:00
network Fixing #1247 -- no more clear_cache failures. 2008-05-25 16:01:26 -05:00
other Merge branch '0.24.x' 2008-05-25 16:00:48 -05:00
puppet Fixing the asuser method in Puppet::Util::SUIDManager 2007-11-27 18:35:25 -06:00
rails Resources now return the 'should' value for properties from 2008-04-11 13:01:17 -05:00
ral Merge branch '0.24.x' 2008-05-20 10:19:10 -05:00
util Merge branch 'master' into master_no_global_resources 2008-03-31 23:56:09 -05:00
README Fix for #565: Final merge of changes from source:branches/execute-refactor into source:trunk 2007-04-03 15:51:18 +00:00
Rakefile Filenames for test must _end_ with '.rb' 2007-02-01 01:20:20 +00:00
test Adding documentation to the "test" script 2007-07-19 18:11:49 +00:00

README

$Id$

To run all tests, run: 'rake test'.  To run an individual suite, run the file
directly.  e.g. cd test/util; ./utiltest.rb

You might need to run some tests as root.

If you do not have rake installed:
  gem install rake

## The following information is possibly out of date?

Tests are organized into a dual hierarchy: each subdirectory is
considered a test suite, and each file in the subdirectory is considered
a test case.  You can use any test case as an example of how to write
more of them, but basically the only requirements are that they each have
their own class names, their names each match /tc_.+\.r/, and that they have
the following header:

if __FILE__ == $0
    $:.unshift '..'
    $:.unshift '../../lib'
    $blinkbase = "../.."
end