The Testing section of the README.md was broken out into the new TESTING.md to explain how the cookbook is being tested. Rubocop is testing the attributes/ files and the .rubocop.yml has documented excluded rules. Change-Id: I0a5f4124a061617779425490d198c00d931c4cc1
8 lines
360 B
Plaintext
8 lines
360 B
Plaintext
# Strainerfile
|
|
rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/attributes/
|
|
# rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK
|
|
# may want to add rubocop check for Berksfile and Gemfile
|
|
knife test: bundle exec knife cookbook test $COOKBOOK
|
|
foodcritic: bundle exec foodcritic -f any -t ~FC003 $SANDBOX/$COOKBOOK
|
|
chefspec: bundle exec rspec $SANDBOX/$COOKBOOK/spec
|