From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15936 invoked by alias); 29 Jun 2018 06:21:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23518 Received: (qmail 16940 invoked by uid 1010); 29 Jun 2018 06:21:44 -0000 X-Qmail-Scanner-Diagnostics: from aurora-borealis.phear.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(94.242.205.164):SA:0(0.1/5.0):. Processed in 1.228711 secs); 29 Jun 2018 06:21:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,LONGWORDS,SPF_PASS, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: eiro@phear.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Virus-Scanned: amavisd-new at phear.org DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 9F9B310AB9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1530252926; bh=QFIIkdkv9hh8HDcyFyvyyv9g+/W+l+0b2tsNA6uAWMQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T/HgaT/6+QUyWsKkleNCS8NQ6ui5QJRiOBeFtPakPc/buhmbql3sdZ1M4R0XC7Qfl PQNtL4jPu6oBTjeX1HhKiUqu8hj5n9UWr07j43DNnbS5nyeqkKrkGTTQqiM2fnhT7U hf/LlQy2wL9lg/h495l06dT8q0O+WtySU8RzPtzaDfF1jO7cwCWGbyLLHIfhZnJNew I+rBmk9kXiMW1+d5aSAMcK6j5Zw9Bt2nbOw5QSUuDaqsPozVj0qDilMUnNAhblW5Rv Ok2eyTaALYCA5vSzFlEg0oyYzBzXRNavizpVZQpBWcBcntCsy2M2FXeyLfYvE/Sa0h puCUclcFKG2Dg== Date: Fri, 29 Jun 2018 08:15:24 +0200 From: Marc Chantreux To: Sebastian Gniazdowski Cc: Zsh Users Subject: Re: Anyone wants to join Zsh-Suite project, tools with integrations for Zsh software development Message-ID: <20180629061524.GA17197@prometheus.u-strasbg.fr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) 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