Skip to content
This repository has been archived by the owner on Oct 22, 2018. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 420 Bytes

TESTING.md

File metadata and controls

18 lines (13 loc) · 420 Bytes

Testing

Unit Testing and Linting

docker-compose run --rm -e SKIP="AuthorName AuthorEmail" cookbook \
bash -c "overcommit --sign && overcommit -r && rspec"

Integration Testing

To run integration tests you need Chef Development Kit. After installing it, invoke:

chef exec bundle install -j 4 --path vendor
sudo chef exec bundle exec rake integration:docker