jayhealey / Webception

A Web UI for running Codeception tests.
MIT License
193 stars 59 forks source link

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

Open Sarke opened 9 years ago

Sarke commented 9 years ago

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!