diff --git a/TESTING.md b/TESTING.md index 39b0b69..c3fb28f 100644 --- a/TESTING.md +++ b/TESTING.md @@ -1,25 +1,32 @@ # Testing -Tested using chef-workstation from Homebrew +## Unit testing and liting -# Lint and Style +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: ```sh -CHEF_LICENSE=accept-no-persist delivery local lint +berks install --except integration ``` -# Unit specs +### Lint and Style +```sh +CHEF_LICENSE=accept-no-persist delivery local lint ``` -berks install --except integration + +### Unit specs + +```sh CHEF_LICENSE=accept-no-persist delivery local unit ``` -# Integration tests +## Integration tests Check [Test Kitchen](https://kitchen.ci/docs/getting-started/running-test). Consider using the `--concurrency` flag when possible. -## kitchen-vagrant +### kitchen-vagrant Tested locally with macOS Monterrey 12.1, VirtualBox 6.1.30, and Vagrant 2.2.19. @@ -27,7 +34,7 @@ Tested locally with macOS Monterrey 12.1, VirtualBox 6.1.30, and Vagrant 2.2.19. kitchen test ``` -## kitchen-dokken +### kitchen-dokken Tested locally with macOS Monterrey 12.1, and Docker Desktop 4.3.1. Tested remotely with Github Actions.