summaryrefslogtreecommitdiff
path: root/acceptance/README.md
blob: b14fbbb37680c8554495ba74e7cba131ccbdecfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Acceptance Testing for Chef Client
This folder contains acceptance tests that are required for Chef client
release readiness.

## Getting started
The tests use the _chef-acceptance_ gem as the high level framework.
All the gems needed to run these tests can be installed with Bundler.

```shell
chef/acceptance$ bundle install
```

To ensure everything is working properly, run:

```shell
chef/acceptance$ bundle exec chef-acceptance info
```

To run a particular test suite, do the following:
```shell
chef/acceptance$ bundle exec chef-acceptance test TEST_SUITE
```

### Important Note!

Before running chef-acceptance, you *MUST* do the following on your current session:

```
export APPBUNDLER_ALLOW_RVM=true
```