console.log
you could simply have a debug log file that you fs.appendFile
to if that help? :/ Not the solution you probably were looking for, but I have this issue noted and planned to take care of soon
console.log/warn/error
commands when I get to refactoring this
worker.js
from spawning cucumber to instead spawning a worker that runs cucumber from node (The difference being spawning cucumber as a process won't let us capture console logs with a stub because all output comes from stdout, where from node we can actively monitor the function call)
process.env.PROPERTYNAME
or process.env['PROPERTYNAME']
or, if using es6, you can do object deconstruction and just simply let {PROPERTYNAME} = process.env
(assuming in this case your workerEnvVars looked something like {
PROPERTYNAME: 'Some value'
}
multi-cuke src/test/features/ -t @test
. However I get the message command not found: multi-cuke
. I have installed via npm and I can see the multi-cuke folder in node_modules. I have also tried installing globally but same issue. Anybody got any idea what I am doing wrong?