Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 570 Bytes

test-script.md

File metadata and controls

28 lines (23 loc) · 570 Bytes

Test Script

A test script is available in tests/local-test.sh to setup a Drupal site with Drainpipe packages installed from your local checkout.

Go to the directory above drainpipe and run the tests/local-test.sh script to setup a new test site e.g.

❯ pwd
/home/justafish/repos/drainpipe

❯ cd ../

If you previously created a test site, remove it:

❯ cd drainpipe-test
❯ ddev stop --remove-data --omit-snapshot
❯ cd ../

Run the test script:

❯ pwd
/home/justafish/repos
❯ ./drainpipe/tests/local-test.sh
cd drainpipe-test