Closed mcera closed 3 years ago
Workaround: Before you include c3.php in public/index.php you need to require codeception/autoload.php
Why is codeception/autoload.php not added to composer autoload_files.php?
I experienced the same issue in Codeception 3.1, the workaround still works! Thx man you are awsome..
This is the same issue as #67,
explicitly requiring codeception/autoload.php is only necessary if vendor/autoload.php
file is included before c3.php file.
I raised #68 to fix this issue.
In Codeception 5.0, codecept functions will be loaded by composer automatically, so workaround won't be necessary.
What are you trying to achieve?
Create code coverage for acceptance tests.
I'm using Symfony 4.1 and c3.php is included in public/index.php
What do you get instead?
Details
codeception.yml:
acceptance.suite.yml: