api documentation for tap (v10.3.2)

A Test-Anything-Protocol library

table of contents

  1. module tap
    1. boolean tap.bail
    2. boolean tap.bailedOut
    3. boolean tap.buffered
    4. boolean tap.ended
    5. boolean tap.explicitEnded
    6. boolean tap.finished
    7. boolean tap.multiEndThrew
    8. boolean tap.noparallel
    9. boolean tap.occupied
    10. boolean tap.omitVersion
    11. boolean tap.preserveWhitespace
    12. boolean tap.pushedEnd
    13. boolean tap.ranAfterEach
    14. boolean tap.readable
    15. boolean tap.readyToProcess
    16. boolean tap.silent
    17. boolean tap.skip
    18. boolean tap.strict
    19. boolean tap.todo
    20. function tap.Spawn (options)
    21. function tap.Spawn.super_ (options)
    22. function tap.Stdin (options)
    23. function tap.Test (options)
    24. function tap.addAssert ()
    25. function tap.afterEach ()
    26. function tap.autoend ()
    27. function tap.bailout ()
    28. function tap.beforeEach ()
    29. function tap.cb ()
    30. function tap.comment ()
    31. function tap.current ()
    32. function tap.done ()
    33. function tap.emitSubTeardown ()
    34. function tap.end ()
    35. function tap.endAll ()
    36. function tap.fail ()
    37. function tap.main ()
    38. function tap.maybeAutoend ()
    39. function tap.mochaGlobals ()
    40. function tap.onbail ()
    41. function tap.onbeforeend ()
    42. function tap.onbufferedend ()
    43. function tap.ondone ()
    44. function tap.onindentedend ()
    45. function tap.pass ()
    46. function tap.patchProcess ()
    47. function tap.pipe ()
    48. function tap.plan ()
    49. function tap.pragma ()
    50. function tap.printResult ()
    51. function tap.process ()
    52. function tap.processSubtest ()
    53. function tap.push ()
    54. function tap.runAfterEach ()
    55. function tap.runBeforeEach ()
    56. function tap.shouldAutoend ()
    57. function tap.spawn ()
    58. function tap.stdin ()
    59. function tap.sub ()
    60. function tap.tearDown ()
    61. function tap.teardown ()
    62. function tap.test ()
    63. function tap.threw ()
    64. function tap.timeout ()
    65. function tap.writeSubComment ()
    66. number tap._eventsCount
    67. number tap.count
    68. number tap.jobs
    69. number tap.n
    70. number tap.planEnd
    71. number tap.start
    72. object tap.Spawn.prototype
    73. object tap.Spawn.super_.prototype
    74. object tap.Stdin.prototype
    75. object tap.Test.prototype
    76. object tap._events
    77. object tap._readableState
    78. object tap.assertAt
    79. object tap.assertStack
    80. object tap.asserts
    81. object tap.currentAssert
    82. object tap.domain
    83. object tap.hrtime
    84. object tap.mocha
    85. object tap.onAfterEach
    86. object tap.onBeforeEach
    87. object tap.options
    88. object tap.parent
    89. object tap.parser
    90. object tap.pool
    91. object tap.queue
    92. object tap.results
    93. object tap.stack
    94. object tap.subtests
    95. object tap.synonyms
    96. object tap.time
    97. string tap.indent
    98. string tap.name
    99. string tap.output
  2. module tap.Spawn
    1. function tap.Spawn (options)
    2. function tap.Spawn.super_ (options)
  3. module tap.Spawn.prototype
    1. function tap.Spawn.prototype.endAll ()
    2. function tap.Spawn.prototype.main (cb)
    3. function tap.Spawn.prototype.onprocclose (code, signal)
    4. function tap.Spawn.prototype.threw (er, extra, proxy)
    5. function tap.Spawn.prototype.timeout (extra)
  4. module tap.Spawn.super_
    1. function tap.Spawn.super_ (options)
  5. module tap.Spawn.super_.prototype
    1. function tap.Spawn.super_.prototype._read (n)
    2. function tap.Spawn.super_.prototype.debug ()
    3. function tap.Spawn.super_.prototype.inspect ()
    4. function tap.Spawn.super_.prototype.main (cb)
    5. function tap.Spawn.super_.prototype.onbail (reason)
    6. function tap.Spawn.super_.prototype.onbeforeend ()
    7. function tap.Spawn.super_.prototype.oncomplete (results)
    8. function tap.Spawn.super_.prototype.ondone ()
    9. function tap.Spawn.super_.prototype.online (line)
    10. function tap.Spawn.super_.prototype.passing ()
    11. function tap.Spawn.super_.prototype.push (c, e)
    12. function tap.Spawn.super_.prototype.setTimeout (n)
    13. function tap.Spawn.super_.prototype.setupParser (options)
    14. function tap.Spawn.super_.prototype.threw (er, extra, proxy)
    15. function tap.Spawn.super_.prototype.timeout (options)
  6. module tap.Stdin
    1. function tap.Stdin (options)
    2. function tap.Stdin.super_ (options)
  7. module tap.Stdin.prototype
    1. function tap.Stdin.prototype.main (cb)
    2. function tap.Stdin.prototype.threw (er, extra, proxy)
  8. module tap.Test
    1. function tap.Test (options)
    2. function tap.Test.super_ (options)
  9. module tap.Test.prototype
    1. function tap.Test.prototype.addAssert (name, length, fn)
    2. function tap.Test.prototype.afterEach (fn)
    3. function tap.Test.prototype.autoend ()
    4. function tap.Test.prototype.bailout (message)
    5. function tap.Test.prototype.beforeEach (fn)
    6. function tap.Test.prototype.comment ()
    7. function tap.Test.prototype.current ()
    8. function tap.Test.prototype.done (implicit)
    9. function tap.Test.prototype.emitSubTeardown (p)
    10. function tap.Test.prototype.end (implicit)
    11. function tap.Test.prototype.endAll (sub)
    12. function tap.Test.prototype.fail (message, extra)
    13. function tap.Test.prototype.main (cb)
    14. function tap.Test.prototype.maybeAutoend ()
    15. function tap.Test.prototype.onbufferedend (p, er)
    16. function tap.Test.prototype.onindentedend (p, er)
    17. function tap.Test.prototype.pass (message, extra)
    18. function tap.Test.prototype.plan (n, comment)
    19. function tap.Test.prototype.pragma (set)
    20. function tap.Test.prototype.printResult (ok, message, extra, front)
    21. function tap.Test.prototype.process ()
    22. function tap.Test.prototype.processSubtest (p)
    23. function tap.Test.prototype.runAfterEach (who, cb)
    24. function tap.Test.prototype.runBeforeEach (who, cb)
    25. function tap.Test.prototype.shouldAutoend ()
    26. function tap.Test.prototype.spawn (cmd, args, options, name)
    27. function tap.Test.prototype.stdin (name, extra)
    28. function tap.Test.prototype.sub (Class, extra, caller)
    29. function tap.Test.prototype.tearDown (fn)
    30. function tap.Test.prototype.teardown (fn)
    31. function tap.Test.prototype.test (name, extra, cb)
    32. function tap.Test.prototype.threw (er, extra, proxy)
    33. function tap.Test.prototype.timeout (options)
    34. function tap.Test.prototype.writeSubComment (p, cb)
  10. module tap.asserts
    1. function tap.asserts.decorate (t)
  11. module tap.mocha
    1. function tap.mocha.after (name, fn)
    2. function tap.mocha.afterEach (fn)
    3. function tap.mocha.before (name, fn)
    4. function tap.mocha.beforeEach (fn)
    5. function tap.mocha.context (name, fn)
    6. function tap.mocha.describe (name, fn)
    7. function tap.mocha.global ()
    8. function tap.mocha.it (name, fn)
    9. function tap.mocha.specify (name, fn)
  12. module tap.stack
    1. function tap.stack._wrapCallSite (frame)
    2. object tap.stack._internals
    3. string tap.stack._cwd

module tap

function tap.Spawn (options)

function tap.Spawn.super_ (options)

function tap.Stdin (options)

function tap.Test (options)

function tap.addAssert ()

function tap.afterEach ()

function tap.autoend ()

function tap.bailout ()

function tap.beforeEach ()

function tap.cb ()

function tap.comment ()

function tap.current ()

function tap.done ()

function tap.emitSubTeardown ()

function tap.end ()

function tap.endAll ()

function tap.fail ()

function tap.main ()

function tap.maybeAutoend ()

function tap.mochaGlobals ()

function tap.onbail ()

function tap.onbeforeend ()

function tap.onbufferedend ()

function tap.ondone ()

function tap.onindentedend ()

function tap.pass ()

function tap.patchProcess ()

function tap.pipe ()

function tap.plan ()

function tap.pragma ()

function tap.printResult ()

function tap.process ()

function tap.processSubtest ()

function tap.push ()

function tap.runAfterEach ()

function tap.runBeforeEach ()

function tap.shouldAutoend ()

function tap.spawn ()

function tap.stdin ()

function tap.sub ()

function tap.tearDown ()

function tap.teardown ()

function tap.test ()

function tap.threw ()

function tap.timeout ()

function tap.writeSubComment ()

module tap.Spawn

function tap.Spawn (options)

function tap.Spawn.super_ (options)

module tap.Spawn.prototype

function tap.Spawn.prototype.endAll ()

function tap.Spawn.prototype.main (cb)

function tap.Spawn.prototype.onprocclose (code, signal)

function tap.Spawn.prototype.threw (er, extra, proxy)

function tap.Spawn.prototype.timeout (extra)

module tap.Spawn.super_

function tap.Spawn.super_ (options)

module tap.Spawn.super_.prototype

function tap.Spawn.super_.prototype._read (n)

function tap.Spawn.super_.prototype.debug ()

function tap.Spawn.super_.prototype.inspect ()

function tap.Spawn.super_.prototype.main (cb)

function tap.Spawn.super_.prototype.onbail (reason)

function tap.Spawn.super_.prototype.onbeforeend ()

function tap.Spawn.super_.prototype.oncomplete (results)

function tap.Spawn.super_.prototype.ondone ()

function tap.Spawn.super_.prototype.online (line)

function tap.Spawn.super_.prototype.passing ()

function tap.Spawn.super_.prototype.push (c, e)

function tap.Spawn.super_.prototype.setTimeout (n)

function tap.Spawn.super_.prototype.setupParser (options)

function tap.Spawn.super_.prototype.threw (er, extra, proxy)

function tap.Spawn.super_.prototype.timeout (options)

module tap.Stdin

function tap.Stdin (options)

function tap.Stdin.super_ (options)

module tap.Stdin.prototype

function tap.Stdin.prototype.main (cb)

function tap.Stdin.prototype.threw (er, extra, proxy)

module tap.Test

function tap.Test (options)

function tap.Test.super_ (options)

module tap.Test.prototype

function tap.Test.prototype.addAssert (name, length, fn)

function tap.Test.prototype.afterEach (fn)

function tap.Test.prototype.autoend ()

function tap.Test.prototype.bailout (message)

function tap.Test.prototype.beforeEach (fn)

function tap.Test.prototype.comment ()

function tap.Test.prototype.current ()

function tap.Test.prototype.done (implicit)

function tap.Test.prototype.emitSubTeardown (p)

function tap.Test.prototype.end (implicit)

function tap.Test.prototype.endAll (sub)

function tap.Test.prototype.fail (message, extra)

function tap.Test.prototype.main (cb)

function tap.Test.prototype.maybeAutoend ()

function tap.Test.prototype.onbufferedend (p, er)

function tap.Test.prototype.onindentedend (p, er)

function tap.Test.prototype.pass (message, extra)

function tap.Test.prototype.plan (n, comment)

function tap.Test.prototype.pragma (set)

function tap.Test.prototype.printResult (ok, message, extra, front)

function tap.Test.prototype.process ()

function tap.Test.prototype.processSubtest (p)

function tap.Test.prototype.runAfterEach (who, cb)

function tap.Test.prototype.runBeforeEach (who, cb)

function tap.Test.prototype.shouldAutoend ()

function tap.Test.prototype.spawn (cmd, args, options, name)

function tap.Test.prototype.stdin (name, extra)

function tap.Test.prototype.sub (Class, extra, caller)

function tap.Test.prototype.tearDown (fn)

function tap.Test.prototype.teardown (fn)

function tap.Test.prototype.test (name, extra, cb)

function tap.Test.prototype.threw (er, extra, proxy)

function tap.Test.prototype.timeout (options)

function tap.Test.prototype.writeSubComment (p, cb)

module tap.asserts

function tap.asserts.decorate (t)

module tap.mocha

function tap.mocha.after (name, fn)

function tap.mocha.afterEach (fn)

function tap.mocha.before (name, fn)

function tap.mocha.beforeEach (fn)

function tap.mocha.context (name, fn)

function tap.mocha.describe (name, fn)

function tap.mocha.global ()

function tap.mocha.it (name, fn)

function tap.mocha.specify (name, fn)

module tap.stack

function tap.stack._wrapCallSite (frame)

[ this document was created with utility2 ]