Sha256: 1d27373e0e6688f9c26aded358f1524e5ed6747946913e8fa5d3f9e8308bb05e

Contents?: true

Size: 830 Bytes

Versions: 5

Compression:

Stored size: 830 Bytes

Contents

This cookbook includes support for running unit tests under ChefSpec and integration tests under Test Kitchen.

Before you can run these tests:

1. You must be using the Git repository, rather than the downloaded cookbook from the Chef Community Site.
2. You must have Vagrant 1.1 installed.
3. You must have a "sane" Ruby 1.9.3 environment with `bundler`

Once the above requirements are met, install the gem dependenies:

    bundle install

With the bundle installed, you should be able to run Test Kitchen:

    bundle exec kitchen list
    bundle exec kitchen test

You can use the tasks defined in the Rakefile for running tests. For example, the following commands will run
the ChefSpec unit tests and all of the configured Test Kitchen platform/suite permuations:

   bundle exec rake spec
   bundle exec rake kitchen:all

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/postgresql/TESTING.md
from-scratch-0.6.0 cookbooks/postgresql/TESTING.md
from-scratch-0.5.0 cookbooks/postgresql/TESTING.md
from-scratch-0.3.0 cookbooks/postgresql/TESTING.md
from-scratch-0.2.0 cookbooks/postgresql/TESTING.md