Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.23 KB

TESTING.md

File metadata and controls

47 lines (29 loc) · 1.23 KB

Testing the cookbook

Contributions to this cookbook will only be accepted if all tests pass successfully:

Setting up the test environment

Install the latest version of Vagrant and VirtualBox (free) or VMWare Fusion (paid).

Clone the latest version of the cookbook from the repository.

git clone [email protected]:escapestudios-cookbooks/yasm.git
cd yasm

Install the gems used for testing:

bundle install

Install the berkshelf plugin for vagrant:

vagrant plugin install vagrant-berkshelf

Running syntax/lint checks

bundle exec rake lint

Running unit tests

bundle exec rake unit

Running integration tests

bundle exec rake integration

Running all checks/tests

bundle exec rake