S
S
Shirshov Alexander2014-06-09 22:25:49
PHP
Shirshov Alexander, 2014-06-09 22:25:49

Codeception error at start


I do everything according to the codeception.com/quickstart instructions .
When I run the test, I get an error:

1) Failed to ensure that frontpage works in WelcomeCept.php (/home/keanor/www/some/tests/acceptance/WelcomeCept.php)

with the -vvv switch I get the details:
1) Failed to perform actions and see result in WelcomeCept.php (/home/keanor/www/some/tests/acceptance/WelcomeCept.php)
                                                                                  
  [PHPUnit_Framework_AssertionFailedError] Method WelcomeCept.php does not exist

If we remove this single test, then I get the expected:
No tests executed!

If you put a breakpoint inside WelcomeCept.php (xdebug), then it does not work. Tell me what I'm doing wrong)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Lissitzky, 2014-08-29
@Keanor

It looks like an error in the documentation when switching to a new version.
If you go to the codeception.com/docs/reference/Configuration page, then in the last config file you can see that AcceptanceTester is used.
To fix it, replace AcceptanceGuy in acceptance.yml with AcceptanceTester:
and run:
After that, the test should run.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question