DEPRECATED Integration Test Suite for Chef Sever - replaced with oc-chef-pedant
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2015-03-05 18:39:00 -05:00
bin Target the "api" suite for the chef-pedant runner 2012-11-19 16:50:47 -05:00
fixtures Generalized creating temporary fixtures for knife tests 2012-12-10 17:24:05 -08:00
lib output response body code match fails 2015-02-24 13:53:14 -05:00
spec/api reduce size of max name in test to accomodate zero 2015-02-26 14:50:31 -08:00
.gitignore Rerun failed tests 2013-01-07 06:04:15 -05:00
chef-pedant.gemspec Bump version to 1.0.46 2015-02-26 15:13:19 -08:00
Gemfile Bump to 1.0.41 for release 2015-01-28 14:58:57 -08:00
Gemfile.lock Bump version to 1.0.46 2015-02-26 15:13:19 -08:00
LICENSE Add Apache license file 2012-10-30 10:59:04 -04:00
open-source-config.rb Add explicit_port_url option to annotated config 2014-02-06 16:51:40 -05:00
pre-commit.sh pre-commit hook to check for focus, and readme updates 2014-07-16 15:54:36 -04:00
README.md deprecate it 2015-03-05 18:38:13 -05:00

DEPRECATED

The contents of this repo have been merged into oc-chef-pedant.

All test development should be done there. This repository is maintained only for support of older versions, and tests modified here will not be pulled into oc-chef-pedant.

Chef Pedant

This repo contains the full integration test suite for Chef Server

It is included with the omnibus build of Chef Server.

To run the suite from an Omnibus Server Build:

(sudo) chef-server-ctl test

Setting up precommit hooks

It's strongly advised that you link the included pre-commit.sh in as a precommit hook, in order to prevent accidentally committing code containing a :focus tag.

To do so:

$ cd .git/hooks
$ ln -s ../../pre-commit.sh pre-commit

If you ever need to skip this commit hook ( such as when using :focus in documentation) you can use:

$ git commit -n