@bercow/spawn
v0.2.0
Published
Test plugin for the [bercow](https://github.com/lachrist/bercow) test runner which spawns a child process.
Downloads
54
Maintainers
Readme
@bercow/spawn
Test plugin for the bercow test runner which spawns a child process.
command <string>
Name/Path of the program to spawn.command-platform <string>
Whereplatform
is any value returned bynode:os.platform()
-- eg:command-win32
for windows. Name of the program to spawn on a specific platform. If present, takes precedence overcommand
.argv <string[]>
Program argument array. Default["$TEST"]
. Recognized variables:$ABSOLUTE_MAIN_PATH
$ABSOLUTE_TEST_PATH
$RELATIVE_MAIN_PATH
$RELATIVE_TEST_PATH
$MAIN
alias for$ABSOLUTE_MAIN_PATH
$TEST
alias for$ABSOLUTE_TEST_PATH
options <Object>
Options to provide tochild_process.spawn
. Default{}
.