dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

Unable to stop test suite #163

Open naoyteruh opened 8 years ago

naoyteruh commented 8 years ago

Hi,

While running a test suite, i'am unable to stop, kill the dalekjs process if condition to continue are not satisfied... Is there any way to achieve this ?

Bonus : i would like to log a message as well.

Regards,

ghguy commented 8 years ago

There is no way to "stop" DalekJS if any of the condition failed. You could try process.exit(1); of NodeJS.

Yes, console.log does not work c.f. in other tool like Protractor, console.log is probably wrapped by Protractor and it works.