Open Verhaeg opened 10 years ago
Hi! Perhaps, the permissions to the folder are incorrect. I will check my suggestion on Ubuntu.
You can try to exclude this cause:
~/www/pherlin
○ → chmod -R 777 tests/
sill no good =/
chmod 777 tests -R
didn't lead me anywhere... wil check what codeception generates in a new project and check possible differences..
thanks so far ;)
Ok. I understood you. I'll watch it on Monday.
Just as a note... the problem seemed to be the value for paths: "\" at least in Ubuntu it does not recognize this as the current path...
I managed to go one step further by moving tests/codeception/codeception.yml to tests/codeception.yml and fix the paths.. but now I have a different issue:
[Codeception\Exception\ModuleConfig]
Phalcon1 module is not configured!
Bootstrap file does not exist in ../../public/codeception.php
Please create the bootstrap file that returns Application object
And specify path to it with 'bootstrap' config
Sample bootstrap:
<?php
$config = include __DIR__ . "/config.php";
include __DIR__ . "/loader.php";
$di = new \Phalcon\DI\FactoryDefault();
include __DIR__ . "/services.php";
return new \Phalcon\Mvc\Application($di);
will try some more later...
I fixed it. See: https://github.com/JimmDiGrizli/pherlin/commit/b7b217f175a0521ae9ce237279906a92c8a11512
And you can check the following configuration:
actor: Dev
paths:
tests: ./
log: ./_log
data: ./_data
helpers: ./_helpers
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
log: true
modules:
config:
Db:
dsn: ''
user: ''
password: ''
dump: /_data/dump.sql
Great!! thanks a lot!! I now have my own issues to solve here hehe ;)
thanks for this project as well ;)
Thank you! I'll be waiting;)
Yay.. all working so far :smile: my findings and changes:
so probably the main reason for me was the path it wasn't considering properly.. after that only minor stuff from configuration ;)
great work
started the project with tag 1.4.2 and changed codeception.yml to:
paths:
tests: ''
log: _log
data: _data
helpers: _helpers
with this it works nicely ;)
Hi,
Was trying to run the codeception, but I'm getting this error:
but the folder is there..can you help me with this please?