This repository uses Codeception for automated testing and is configured to use tric
to run them.
Clone tric
somewhere on your machine and ensure it is in your path.
cd ~/git/
git clone [email protected]:the-events-calendar/tric.git
cd ~/git
tric here
tric use schema
tric run wpunit
Or go into tric shell
(this is faster) and run the tests:
tric shell
# Your prompt will look like this: ".../plugins/schema > "
# Run the following command to run the wpunit tests:
cr wpunit
# To leave tric shell:
exit