Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Latest commit

 

History

History
71 lines (43 loc) · 2.1 KB

Process.md

File metadata and controls

71 lines (43 loc) · 2.1 KB

Reference to Process.

Source: lib/cli/conjure/process.js

exports.create()

Create a new Process.

Return:

{object}

Go: TOC | exports

Process()

Process constructor.

Configuration:

  • {object} impulseBin ImpulseBin instance
  • {object} cliOptions
  • {array} spawnArgs
  • {string} label Ex. name of the test file, used for logging
  • {string} testDir Root test directory

Properties:

  • {object} data ProcessData instance that holds stdout/stderr
  • {object} handle ChildProcess instance
  • {boolean} noTestsRan True if caused by --grep-case or --grepv-case
  • {object} allStatus StatusList instance that holds all internal messages parsed from stdout
  • {object} rotatedStatus StatusList instance whose items are limited to the most recent describe()
  • {object} timeoutId setTimeout() ID created in Process.prototype.spawn to enforce --timeout

Inherits:

  • events.EventEmitter

See:

Go: TOC

Process.prototype.spawn()

Spawn a single process based on collected configuration.

Go: TOC | Process.prototype

Process.prototype.showTrace()

Dump all trace messages to stderr.

Go: TOC | Process.prototype

—generated by apidox