Permalink
Commits on Jan 8, 2017
  1. v4.2.4

    isaacs committed Jan 8, 2017
  2. Don't filter comments out of yaml diagnostics

    Yaml has its own syntax for comments, and trying to emit them as TAP
    comments was causing multiline string scalars with lines starting in '#'
    to be filtered out, sometimes causing invalid yaml which would be
    emitted as garbage.
    isaacs committed Jan 8, 2017
Commits on Jan 7, 2017
  1. v4.2.3

    isaacs committed Jan 7, 2017
  2. Move bailout brace handling into nonTap function

    Was missing a few edge cases when the bailout happens deep in the
    subtest tree.
    isaacs committed Jan 7, 2017
  3. v4.2.2

    isaacs committed Jan 7, 2017
  4. Run tests before bumping version

    Almost accidentally published something without test coverage
    isaacs committed Jan 7, 2017
  5. v4.2.1

    isaacs committed Jan 7, 2017
  6. Do not treat } after a bailout as non-TAP

    It's pretty common to see this when a bailout happens in a child test.
    isaacs committed Jan 7, 2017
  7. v4.2.0

    isaacs committed Jan 7, 2017
  8. Emit failbail faster, track ok-ness more closely

    Also, update tests to work with new logic, and bring coverage back to 100
    isaacs committed Jan 7, 2017
  9. Add support for buffered subtests with yaml diags

    Also, document the 'line' event, and event ordering behavior.
    isaacs committed Jan 7, 2017
Commits on Jan 6, 2017
  1. emit plan-related parse errors more helpfully

    Also, catch invalid plans like 5..2 earlier.
    isaacs committed Jan 6, 2017
Commits on Jan 5, 2017
  1. v4.1.0

    isaacs committed Jan 5, 2017
  2. Merge branch 'v4'

    isaacs committed Jan 5, 2017
  3. v4.0.0

    isaacs committed Jan 5, 2017
  4. Do not ignore version lines that are in yaml

    This also has the effect of moving the 'line' event that starts a child
    to *after* the child event that it starts, so that we can parse lines
    coming out of the child rather than emitting 'line' on the way in.
    
    The downside is that we have to be careful to emit a 'line' event once
    we know what the thing is (ie, not a version, not something for a child,
    not something that starts a child), so `emit('line')` function calls
    happen in many more places.
    
    But the ordering is somewhat more reasonable, in a way.  The child
    object is created, and then we see its lines coming out.  And, it's
    now possible to use the 'line' events as a pass-through stream that
    filters out nested `TAP version 13` lines properly, cuts out
    post-bailout noise, and so on.
    isaacs committed Jan 5, 2017
Commits on Jan 4, 2017
  1. Support 'bail' flag to bail on first failure

    This also re-introduces the "ignore all data after a bailout" behavior,
    so that we can replicate the "rootBail" behavior of node-tap, such that
    the top-level parser will bail out asap when any child parser bails.
    
    Doing auto-bailing here at the parser level greatly simplifies the logic
    in node-tap, especially wrt handling bailouts for buffered subtests.
    isaacs committed Jan 4, 2017
  2. omit version lines in child tests

    Currently, node-tap has to manually listen for these lines and filter
    them out.
    
    Better to just ignore them at the parser level, since they tend to cause
    problems, and it's not as if we do anything different based on TAP
    version anyway.
    isaacs committed Jan 4, 2017
Commits on Jan 3, 2017
  1. v3.0.5

    isaacs committed Jan 3, 2017
  2. Emit 'line' events after bailout

    Even though they're not parsed, this makes output much more consistent
    when parsing child process TAP output and treating the parser's 'line'
    events as a sort of pass-through stream.
    isaacs committed Jan 3, 2017