Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 883 Bytes

TESTING.md

File metadata and controls

44 lines (28 loc) · 883 Bytes

Testing

Unit testing and liting

Tested using chef-workstation devcontainer.

In the case you are not using the devcontainer you will probably need to install the dependencies before running the tests:

berks install --except integration

Lint and Style

CHEF_LICENSE=accept-no-persist delivery local lint

Unit specs

CHEF_LICENSE=accept-no-persist delivery local unit

Integration tests

Check Test Kitchen. Consider using the --concurrency flag when possible.

kitchen-vagrant

Tested locally with macOS Monterrey 12.1, VirtualBox 6.1.30, and Vagrant 2.2.19.

kitchen test

kitchen-dokken

Tested locally with macOS Monterrey 12.1, and Docker Desktop 4.3.1. Tested remotely with Github Actions.

KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen test