How can I add Unit Tests for Modules?


(Blaces) #1

Hi.

I have two yii2 project. They use the same module (yii2). But unfortunately I do not see any tutorial about how I can add Unit Tests to my module.

I use the Advanced Application Template. So there I can use the common, frontend and backend tests library. But I do not want to copy of unit test in both yii2 project.