cli icon indicating copy to clipboard operation
cli copied to clipboard

CLI-1307| Integration tests

Open ashu-taide opened this issue 7 months ago • 3 comments

Motivation Integration tests that will execute on ubuntu that will simulate how user uses acli on ubuntu

Proposed changes Integration tests added in

Alternatives considered

Testing steps

  1. Follow the contribution guide to set up your development environment or download a pre-built acli.phar for this PR.
  2. Clear the kernel cache to pick up new and changed commands: ./bin/acli ckc
  3. (add specific steps for this pr)
  4. install python3
  5. on macos rm ~/.acquia/cloud_api.conf
  6. on linux rm /root/.config/acquia/cloud_api.conf
  7. export APPLICATION_UUID="appuuid"
  8. export APPLICATION_NAME="appname"
  9. export ACLI_AUTH_TOKEN="authtoken"
  10. export ACLI_AUTH_SECRET="authsecret"
  11. Run python3 -m unittest discover -s tests/integration/testcases in the cli directory

ashu-taide avatar Jul 25 '24 09:07 ashu-taide