Codeception

Most of the support that Craft offers for testing is provided through Codeception (opens new window). Craft extends the Yii2 codeception module (opens new window).

Because of this if you want to run tests using the Craft testing framework you will need to require codeception/codeception in your composer.json.

Codeception provides much test related support out of the box including: