Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TAP reporter TAP13-capable #3552

Merged
merged 84 commits into from
Nov 10, 2018
Merged

Make TAP reporter TAP13-capable #3552

merged 84 commits into from
Nov 10, 2018

Commits on Sep 19, 2018

  1. Configuration menu
    Copy the full SHA
    d3c2df9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c067a6e View commit details
    Browse the repository at this point in the history
  3. Changed test to look for plan (1..N) on second line.

    Was failing since it matched entire output array and first line
    is now the version line per TAP v13 spec.
    mollstam committed Sep 19, 2018
    Configuration menu
    Copy the full SHA
    9c78b61 View commit details
    Browse the repository at this point in the history
  4. Added integration tests to make sure we conform to spec.

    Only expect now is that version line is first line, more to come.
    Removed the previously added unit test which now is superflous.
    mollstam committed Sep 19, 2018
    Configuration menu
    Copy the full SHA
    78ab6c5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b59af19 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ddc5b17 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f030a4b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    43c94c8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8d369b7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9677744 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3047441 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    253d76a View commit details
    Browse the repository at this point in the history
  13. Fixed error message potentially breaking YAML block, some cleanup.

    err.message is now placed inside YAML block as a literal so that
    newline doesn't break any YAML parser.
    mollstam committed Sep 19, 2018
    Configuration menu
    Copy the full SHA
    e00b99c View commit details
    Browse the repository at this point in the history
  14. TAP now inherits from Base

    mollstam committed Sep 19, 2018
    Configuration menu
    Copy the full SHA
    1e559b3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    419fc33 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3551db3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    68d8b9c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3b5f88f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3cac7f1 View commit details
    Browse the repository at this point in the history
  20. Retrigger appveyor test

    mollstam committed Sep 19, 2018
    Configuration menu
    Copy the full SHA
    b5b88a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. TAP reporter inherits Base

    mollstam committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    ce24d96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5b519d View commit details
    Browse the repository at this point in the history
  3. added support for spec reporterOption and started implementing `TAP…

    …12Producer` and `TAP13Producer`.
    mollstam committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    3242408 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61e8c79 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8dc5b65 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4b11a31 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38b8ce3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7951bf0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ff80cf4 View commit details
    Browse the repository at this point in the history
  10. fixed bad redeclare

    mollstam committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    0496ef3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    42035e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2018

  1. Merge branch 'reporter-tap-v13' of https://github.com/mollstam/mocha

    …into mollstam-reporter-tap-v13
    plroebuck committed Nov 4, 2018
    Configuration menu
    Copy the full SHA
    4d9188f View commit details
    Browse the repository at this point in the history
  2. feat(reporters/tap.js): Make TAP reporter conform to TAP13

    Finished up TAPProducer OO overhaul. Documented everything. Renamed reporter option field as
    `tapVersion`. Additional checking of input. Reworked some event listener arguments. Replaced
    `console.log` with `process.stdout` stream. Documented everything.
    plroebuck committed Nov 4, 2018
    Configuration menu
    Copy the full SHA
    03e3440 View commit details
    Browse the repository at this point in the history
  3. test(reporters.spec.js,tap.spec.js): Updated to match tapVersion re…

    …porter option
    
    Converted `spec` to `tapVersion` for `reporterOptions` cmdline args.
    plroebuck committed Nov 4, 2018
    Configuration menu
    Copy the full SHA
    b060a14 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2018

  1. Configuration menu
    Copy the full SHA
    76a74bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e72ff9 View commit details
    Browse the repository at this point in the history
  3. Changed test to look for plan (1..N) on second line.

    Was failing since it matched entire output array and first line
    is now the version line per TAP v13 spec.
    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    ce0eecd View commit details
    Browse the repository at this point in the history
  4. Added integration tests to make sure we conform to spec.

    Only expect now is that version line is first line, more to come.
    Removed the previously added unit test which now is superflous.
    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    9352709 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f027dc5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d88454 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    425b03f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2af2e84 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f6cf3cf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    308b381 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    009daed View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ccbd91e View commit details
    Browse the repository at this point in the history
  13. Fixed error message potentially breaking YAML block, some cleanup.

    err.message is now placed inside YAML block as a literal so that
    newline doesn't break any YAML parser.
    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    b2746b3 View commit details
    Browse the repository at this point in the history
  14. TAP now inherits from Base

    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    9cb8990 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    54ca9f7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    56752f1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4680170 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e75408d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ab0db06 View commit details
    Browse the repository at this point in the history
  20. TAP reporter inherits Base

    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    f00ca30 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ae782b8 View commit details
    Browse the repository at this point in the history
  22. added support for spec reporterOption and started implementing `TAP…

    …12Producer` and `TAP13Producer`.
    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    9e2e5bf View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    1b06541 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    709f567 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c646564 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4442207 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    f4590ee View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    552091b View commit details
    Browse the repository at this point in the history
  29. fixed bad redeclare

    mollstam authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    dd1ebc1 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    cb0258d View commit details
    Browse the repository at this point in the history
  31. 3483: Squelch CI Growl-related spawn errors (#3517)

    * ci(.travis.yml): Squelch Growl-related spawn errors
    
    Installed binary needed for Linux desktop notification support.
    
    * ci(appveyor.yml): Squelch Growl-related spawn errors
    
    Installed GfW package needed for Windows desktop notification support.
    
    Fixes #3483
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    f472b6b View commit details
    Browse the repository at this point in the history
  32. test(test/reporters/base.spec.js): Fix Base reporter test failure due…

    … to timeout
    
    The `Base` reporter's specification verifies reporter can interpret Chai custom error messages. This
    test takes ~480ms (lightly loaded CPU), which is _way_ too close to the 500ms timeout. Change
    doubles this timeout.
    
    #3524
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    207ed8c View commit details
    Browse the repository at this point in the history
  33. Update "commander" to correct display of falsy default values (#3529)

    Additionally, this includes minor updates to mocha's help output (by rewording text and/or specifying default values). These were then collected into the website documentation.
    outsideris authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    02d75ee View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    ff6cbe7 View commit details
    Browse the repository at this point in the history
  35. refactor(json-stream.js): Consistent output stream usage (#3532)

    ### Description of the Change
    
    * Made all output directly use `process.stdout`. 
      * `process.stdout` and `console.log` take different routes to get to same place
    * Corrected ctor name.
    * Updated documentation.
    
    ### Alternate Designs
    
    N/A
    
    ### Benefits
    
    Consistency. [Don't cross the streams](https://www.youtube.com/watch?v=wyKQe_i9yyo)!
    
    ### Possible Drawbacks
    
    N/A
    
    ### Applicable issues
    
    Fixes #3526
    Fixes #3521
    semver-patch
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    2f28b49 View commit details
    Browse the repository at this point in the history
  36. fix(_mocha): Update '--no-timeouts' argument description (#3546)

    Previously undocumented that use of `--inspect` would disable timeouts.
    
    Fixes #3519
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    2d89a47 View commit details
    Browse the repository at this point in the history
  37. build(ESLint/Git): Ignore JSDoc output directory (#3544)

    Prettier-ESLint keeps busying itself with the JSDoc output directory upon any commit, spewing hundreds of errors.
    This tells both ESLint and Git to ignore the directory.
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    f2f79c0 View commit details
    Browse the repository at this point in the history
  38. ci(Travis/Appveyor): Update Node versions in CI matrix (#3543)

    * ci(.travis.yml,appveyor.yml): Update Node versions in CI matrix
    
    Make Node-11 the new default and drop Node-9 from matrix.
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    ee4625f View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    cebb18a View commit details
    Browse the repository at this point in the history
  40. fix runner to emit start/end event (#3395)

    Signed-off-by: Outsider <outsideris@gmail.com>
    outsideris authored and plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    9286fdc View commit details
    Browse the repository at this point in the history
  41. Warn that suites cannot return a value (#3550)

    * Give a `DeprecationWarning` on suite callback returning any value.
    * Deprecation warning: Show a message only once; use `process.nextTick` when falling back to `console.warn`
    * Add a test for `utils.deprecate`
    * style: Make prettier happy
    * test(deprecate.spec.js): Make PR requested changes for approval (per @boneskull)
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    d4808a3 View commit details
    Browse the repository at this point in the history
  42. feat(reporters/tap.js): Make TAP reporter conform to TAP13

    Finished up TAPProducer OO overhaul. Documented everything. Renamed reporter option field as
    `tapVersion`. Additional checking of input. Reworked some event listener arguments. Replaced
    `console.log` with `process.stdout` stream. Documented everything.
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    c6c784a View commit details
    Browse the repository at this point in the history
  43. test(reporters.spec.js,tap.spec.js): Updated to match tapVersion re…

    …porter option
    
    Converted `spec` to `tapVersion` for `reporterOptions` cmdline args.
    plroebuck committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    c179a34 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2018

  1. test(reporters/helpers.js): Add update to "helpers.js" from PR #3528

    Tried this via rebase, but new function was missing afterwards.
    plroebuck committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    df03a00 View commit details
    Browse the repository at this point in the history
  2. test(reporters/tap.spec.js): Update TAP reporter test before merge

    Updated to make use of PR #3528 reporter test improvements. Afterwards, found several places where a
    test had been relying on a previous test's setup. Added two new tests. Cleanup on aisle 4...
    plroebuck committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    6d32ec9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3b01085 View commit details
    Browse the repository at this point in the history
  4. test(reporters.tap.spec.js): Remove unused variable

    Some days it's like I just work _for_ the lint tool...
    plroebuck committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    9d8b18a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b3ea5ed View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2018

  1. Configuration menu
    Copy the full SHA
    0ce70f8 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'mollstam-reporter-tap-v13' of https://github.com/mochaj…

    …s/mocha into mollstam-reporter-tap-v13
    plroebuck committed Nov 10, 2018
    Configuration menu
    Copy the full SHA
    e5b516e View commit details
    Browse the repository at this point in the history