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



hello Sebastian,

> Has anyone a testing framework or other project that could
> be part of a "zsh-suite"

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 ().

but everything is written using the uze convention and helpers.
i would be pleased to be part of a larger project but i'm really
bound to some "good practices" i developped over years. for example
uze use those options and i'm not open to discussion about
it (because reliability and readability).

    braceccl extendedglob globstarshort
    rcquotes promptbang promptsubst
    nohashdirs pathdirs
    nounset warncreateglobal
    pipefail shinstdin

also: i use "alternative syntax" as a first choice and really encourage
it

Back to TAP.zsh

the idea behind that is to have a simple implemetation to
give me the ability to reuse all the tooling already written
for TAP and JUnit (because there is a converter).

here is an exemple of test suite

https://github.com/zsh-uze/http-tools/blob/master/t/100_json.t

if you clone the repo and zsh is already installed, you
can have a test report using

    prove -ezsh -r t

prove comes with perl, it has a lot of plugin
(html reports for example)

at some point, i also would like to hack on ztst.zsh to give
it a TAP output.

> I have Zshelldoc

for the moment, i use inline pod strings

: <<=cut

=head1 why?

this is cool because i can just run

    perldoc my/zsh/lib.zsh

to have a manpage

=cut

but i'm not bound to this.

regards



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