mjhm / cucumber-api

Cucumber JS step definitions for API testing
MIT License
0 stars 0 forks source link

kill specific childProcess #4

Open mjhm opened 8 years ago

mjhm commented 8 years ago

https://github.com/mjhm/cucumber-api/blob/master/example/testapp/apitest/features/support/feature_hooks.js#L18

You can capture the returned childProcess object on line 10 and then kill it with https://nodejs.org/api/child_process.html#child_process_child_kill_signal

allonsy commented 8 years ago

Ah, much cleaner