1. 21 Jan, 2017 1 commit
  2. 20 Jan, 2017 1 commit
  3. 14 Jan, 2017 1 commit
    • isaacs's avatar
      emit line events in proper order · 298984d6
      isaacs authored
      This fixes the issue with plan coming right before the Bailout line when
      there is a bailout right before a test, and means that 'line' events can
      be used as a proper passthrough stream that is semantically equivalent
      to the input.
      298984d6
  4. 07 Jan, 2017 2 commits
  5. 05 Jan, 2017 1 commit
  6. 04 Jan, 2017 1 commit
    • isaacs's avatar
      omit version lines in child tests · a343061e
      isaacs authored
      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.
      a343061e
  7. 22 Nov, 2016 1 commit
  8. 21 Nov, 2016 1 commit
  9. 13 Sep, 2016 2 commits
    • isaacs's avatar
      Use the plan method to set synthetic 1..0 plan · 168ca620
      isaacs authored
      this also removes the need for the 'sawValidTap' check, which was a bit
      of a kludge
      168ca620
    • isaacs's avatar
      Treat empty tests the same as a 'skip all' 1..0 · c48082bf
      isaacs authored
      Node-tap jumps through a lot of hoops to treat empty subtest processes
      as an empty test, by synthetically adding a `1..0` line to the stream if
      no valid TAP output is encountered.
      
      Why not just do that in the parser?  It simplifies a lot of stuff.
      
      I doubt that anyone is depending on this being a failure, but just in
      case, it should be a major version bump.
      c48082bf
  10. 16 Aug, 2016 1 commit
    • isaacs's avatar
      Require Subtest comments, indentation = 4 spaces · 50bb5d05
      isaacs authored
      This corrects all the handling of any mixture of indented Subtest
      comments, un-indented Subtest comments, or buffered subtests.
      
      Support for subtests without a comment prefix is dropped, and
      indentation for subtests is fixed at 4 spaces.  One of these constraints
      could conceivably be lifted, but not both.
      50bb5d05
  11. 12 Aug, 2016 1 commit
    • isaacs's avatar
      Rewrite main parsing function in modular chunks · ddf44e20
      isaacs authored
      Fix #25
      Fix #23
      
      This moves around some things to make the following changes:
      
      1. Stricter ordering of events.  Now a bailout will push a pending
      assert event, rather than omitting it.
      
      2. `Subtest` comments are now no longer semantically relevant.  They`re
      just comments.  What makes a child test is having indented non-comment
      TAP data.
      
      3. Support for buffered subtests is re-added, and made a bit more
      robust.
      
      4. Invalid TAP that causes the parser to end in failure now also adds an
      entry in the `failures` array, so it's possible to see what went wrong.
      
      This is a breaking change, because of the semantic changes, but it
      should be an easy upgrade for node-tap, its primary consumer.  There's a
      possibility that it'll break some of the reporting, though, so it's
      still very provisional.
      ddf44e20
  12. 09 Aug, 2016 1 commit
  13. 07 Sep, 2015 2 commits