edit

Testing Setup

The easiest way to get set up to run the automated tests is to use buildkit which will install the tools necessary for running the tests and creating local CiviCRM sites with civibuild.

Info

When writing new tests or making any changes make sure you run civilint to ensure your changes match our coding style.

Tip

If you are using PhpStorm, you can run the tests from within PhpStorm (which is especially helpful because you can set breakpoints and inspect variables while the tests run).