【发布时间】:2016-07-19 06:26:06
【问题描述】:
我有一个带有简单 Codeception (2.1.7) 验收测试设置的 Symfony 2.4.4 站点。运行验收测试时出现以下错误:
[Codeception\Exception\ConfigurationException]
AcceptanceTester class doesn't exist in suite folder.
Run the 'build' command to generate it
AcceptanceTester 类确实存在于tests/acceptance 目录中。如果我运行构建,我会收到以下错误:
[Codeception\Exception\ConfigurationException]
Configuration file could not be found.
Run `bootstrap` to initialize Codeception.
codeception.yml 文件确实存在并包含以下内容:
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
helpers: tests/_support
settings:
bootstrap: _bootstrap.php
colors: false
memory_limit: 1024M
coverage:
enabled: true
remote: true
include:
- app/*
exclude:
- app/cache/*
include:
...
modules:
config:
Db:
dsn: ''
user: ''
password: ''
dump: tests/_data/dump.sql
如果我运行引导程序,它会确认这一点:
Project is already initialized in '.'
acceptance.suite.yml 包含:
class_name: AcceptanceTester
modules:
enabled:
- AcceptanceHelper
有什么建议吗?
【问题讨论】:
标签: symfony codeception