diff --git a/README.md b/README.md index 6c9af8a0..1d321865 100644 --- a/README.md +++ b/README.md @@ -241,3 +241,19 @@ or in Visual Studio Code by defining the following in your settings.json: "KUBEBUILDER_ASSETS":"" }, ``` + +## Run kuttl test +The easiest way is to run kuttl test in fresh system with crc deployed with + +- **create enough pv's** +`PV_NUM=30 make crc_storage` +- make your changes in neutron-operator +- add required kuttl tests +- start webhook `make run-with-webhook` + +- navigate to install_yamls +- run kuttl tests +`make neutron_kuttl_run OPERATOR_BASE_DIR=/home/stack/repos NAMESPACE=neutron-kuttl-tests` + +- To run a single test +`make neutron_kuttl_run OPERATOR_BASE_DIR=/home/stack/repos NAMESPACE=neutron-kuttl-tests KUTTL_ARGS="--test notifications"`