ِAmin
ِAmin

Reputation: 184

Codeception with Yii2, error when run

I'm using advanced Yii2 Templet, when I run the test after built, I got the problem bellow.

Idon't know what is the namespace, so please if you can explain to me what is it.

Error

Please add `namespace` section into included codeception.yml file 

codeception.yml

include:
  - codeception/console
  - codeception/api

paths:
  log: codeception/_output

settings:
  colors: true

Upvotes: 3

Views: 189

Answers (1)

Onedev_Link
Onedev_Link

Reputation: 2012

In codeception/api/codeception.yml file you should write namespace section like this:

namespace: tests\codeception\api

Upvotes: 3

Related Questions