Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Anyone wants to join Zsh-Suite project, tools with integrations for Zsh software development



Marc Chantreux wrote on Fri, Jun 29, 2018 at 08:15:24 +0200:
> i don't know what are the crietia to be a part of zsh-suite.
> for the uze project, i wrote a TAP (https://testanything.org/)
> emiter inspired by Test::More ().

if (( ${+SHAMELESS_PLUG} )); then

  z-sy-h's test suite also uses TAP, and consequently z-sy-h's source tree
  contains two TAP scripts that may be of independent interest (to any TAP
  project, not just to zsh TAP projects):
  
  - tests/tap-filter
    # This is a stdin-to-stdout filter that takes TAP output (such as 'make test')
    # on stdin and deletes lines pertaining to expected results.
    #
    # More specifically, if any of the test points in a test file either failed but
    # was expected to pass, or passed but was expected to fail, then emit that test
    # file's output; else, elide that test file's output.
    
  - tests/tap-colorizer.zsh
    # This is a stdin-to-stdout filter that takes TAP output (such as 'make test')
    # on stdin and passes it, colorized, to stdout.

  Of course, both of these must have been implemented countless times in CPAN,
  but they were useful to z-sy-h since its TAP output is done "by hand", not
  through any module.

fi

Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author