Objects matching the expression 'testing'
- #1265 CA client has a failing test (ca, testing)
- PuppetDebian Running Puppet on Debian (debian, installation, packages, puppet, testing, unstable)
- PuppetSource Puppet is currently implemented in Ruby and uses standard Ruby libraries. You should be able to run Puppet on any Unix-style host with Ruby. Windows support is planned but not currently available. Before you Begin ---------------- Make sure your host has Ruby version 1.8.2 or later:: $ ruby -v and, if you want to run the tests, rake:: $ rake -V While Puppet should work with 1.8.1, there have been many reports of problems with this version. Make sure you have Git_:: $ git --version Get the Source -------------- Puppet currently relies on another Reductive Labs tool, Facter_. Create a working directory and get them both:: $ SETUP_DIR (documentation, download, facter, git, source, testing)
- 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)