Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Includes not working? Fails when codeception.yml has no tests paths #34

Open
Sarke opened this issue Feb 3, 2015 · 0 comments
Open

Comments

@Sarke
Copy link

Sarke commented Feb 3, 2015

I just installed the Yii2 advanced template. I get this error when pointing sites to /tests/codeception.yml

Type: ErrorException
Code: 8
Message: Undefined index: tests
File: /mnt/devserverstorage/www/webception/App/Lib/Codeception.php
Line: 134

The contents of /tests/codeception.yml

include:
  - codeception/common
  - codeception/console
  - codeception/backend
  - codeception/frontend

paths:
  log: codeception/_output

settings:
  colors: true

As you can see, it doesn't have a tests property in paths.

Here's what is in /tests/codeception/common/codeception.yml

namespace: tests\codeception\common
actor: Tester
paths:
    tests: .
    log: _output
    data: _data
    helpers: _support
settings:
    bootstrap: _bootstrap.php
    suite_class: \PHPUnit_Framework_TestSuite
    colors: true
    memory_limit: 1024M
    log: true

Other than that, it's a great UI!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant