github nightwatchjs/nightwatch v1.3.7

latest releases: v3.6.3, v3.6.2, v3.6.1...
3 years ago

Added new setting test_workers.node_options to enable passing node options to individual test worker processes.
Usage:

  • This will pass all of process.execArgv:
test_workers: {
    enabled: true,
    // automatically compute the number of workers based on CPU cores
    workers: 'auto',
    // pass node arguments to individual workers (all of the process.execArgv)
    node_options: 'inherit',
},
  • This will pass only the specified cli options:
test_workers: {
    enabled: true,
    workers: 'auto',
    // selectively pass node arguments to individual worker processes
    node_options: ['--inspect']
},

Don't miss a new nightwatch release

NewReleases is sending notifications on new releases.