It seems like there is a bug in code which allows to use custom helpers. I suppose this config `codecept.json` was planned to work nice ``` json { "helpers": { "MyCustomWebdriver": { "require": "my-custom-webdriver" } } } ``` but now it seeks `require` key in main `helpers` config. Also, it would be nice if `require` path here is resolved relatively to `codecept.json` location, like ``` json { "helpers": { "MyCustomWebdriver": { "require": "./lib/my-custom-webdriver" } } } ``` because now it will work only with ``` json { "helpers": { "MyCustomWebdriver": { "require": "./../../../lib/my-custom-webdriver" } } } ``` I am ready to make PR, but I wonder why there are no tests here, are they not written yet, because I feel wrong to write PR without tests :smiley:
Activity
DavertMik commentedon Dec 7, 2015
Thanks, actually looks I did a fix for this issue while writing tests :)
Same as #10
Thanks, I'm pushing my tests and fixes right now
various fixes. Fixes #10 #12
DavertMik commentedon Dec 7, 2015
Resolved Issue: https://github.com/Codeception/CodeceptJS/blob/master/lib/container.js#L11
Test: https://github.com/Codeception/CodeceptJS/blob/master/test/unit/container_test.js#L69
Please verify everything is right there