Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 465 Bytes

TESTING.md

File metadata and controls

19 lines (14 loc) · 465 Bytes

Testing

Unit Testing and Linting

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

Integration Testing

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

kitchen converge
kitchen verify