Skip to content

Codeception 2 on Debian 7 (PHP 5.4.4) fail to run quickstart #1084

Closed

Description

@lordlele

Hi,
I've followed the quickstart line by line.
However, on Debian 7 with PHP 5.4.4, acceptance test will always fail with this strange error:

# php codecept.phar run -vvv
Codeception PHP Testing Framework v2.0.0
Powered by PHPUnit 4.1.1 by Sebastian Bergmann.

Functional Tests (0) ------------------------
Modules: Filesystem, FunctionalHelper
---------------------------------------------
---------------------------------------------

Acceptance Tests (1) ---------------------------------------------------------------------------------
Modules: PhpBrowser, AcceptanceHelper
------------------------------------------------------------------------------------------------------
 FAIL 

------------------------------------------------------------------------------------------------------

Unit Tests (0) ------------------------------
Modules: Asserts, UnitHelper
---------------------------------------------
---------------------------------------------


Time: 104 ms, Memory: 8,25Mb

There was 1 failure:

---------
1) Failed to ensure that frontpage works in WelcomeCept.php (/root/codeception/tests/acceptance/WelcomeCept.php)

  [PHPUnit_Framework_AssertionFailedError] Method WelcomeCept.php does not exist  

#1  /root/codeception/codecept.phar:7

FAILURES!                            
Tests: 1, Assertions: 0, Failures: 1.

I'm unable to understand this error, as WelcomeCept.php is a file, not a method.

Maybe ther's a specific requirement on PHP version?

Activity

  1. DavertMik commented on Jun 11, 2014

    @DavertMik
    Member

    Please run with --debug option to see more verbose output.
    I think you can try to upgrade to PHP 5.5. Still I'm not sure what actually causes this issue. I had similar report from @JeffreyWay where he tried to run Codeception on 5.4.24 and got a strange fail.

  2. DavertMik commented on Jun 19, 2014

    @DavertMik
    Member

    Related #1109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions