Most of the support that Craft offers for testing is provided through Codeception. Craft extends the Yii2 codeception module.

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: