From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K6iNZ-0003Xf-Tt for garchives@archives.gentoo.org; Thu, 12 Jun 2008 08:41:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 749E0E052F; Thu, 12 Jun 2008 08:41:56 +0000 (UTC) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by pigeon.gentoo.org (Postfix) with ESMTP id 50A61E052F for ; Thu, 12 Jun 2008 08:41:56 +0000 (UTC) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id A42181AB2B0 for ; Thu, 12 Jun 2008 10:41:55 +0200 (CEST) Received: from toz.strangled.net (toz.strangled.net [82.232.126.136]) by smtp1-g19.free.fr (Postfix) with ESMTP id 75B761AB314 for ; Thu, 12 Jun 2008 10:41:55 +0200 (CEST) Date: Thu, 12 Jun 2008 10:42:38 +0200 From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] A unit-testing prototype Message-ID: <20080612104238.24975e36@toz.strangled.net> In-Reply-To: <20080612074801.GC9607@comet> References: <20080526094710.GB11722@comet> <20080612074801.GC9607@comet> Organization: Gentoo X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/P7kmIbJeg.ySBWAVpfUf+zS"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: cc8ff5bd-82a4-4169-81b0-07546196efa7 X-Archives-Hash: 7f647cfdfb398ebd0f3eddcb766ab78d --Sig_/P7kmIbJeg.ySBWAVpfUf+zS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 12 Jun 2008 00:48:01 -0700 Donnie Berkholz wrote: > On 02:47 Mon 26 May , Donnie Berkholz wrote: > > A while back, vapier added some tests for the toolchain-funcs > > eclass to /usr/portage/eclass/tests/. I really like the idea, and I > > recently discovered an xUnit-style unit-testing framework for shell > > scripts called ShUnit2. I played with it a little and made a couple > > of prototypes. Take a look and see what you think. >=20 > I've heard two positive comments on IRC and nothing else, so I'm=20 > proceeding with this. I'll be adding these to the existing=20 > /usr/portage/eclass/tests/, adding shunit2 to the tree, and beginning=20 > some work looking into unit tests for portage's bash code. Great! Thanks. I didn't try it because I was too lazy to put shunit2 in an overlay but had a look at the code. Tests cannot hurt, esp. for such widely used code that eclasses are. I'll probably use this to write tests for the couple of eclasses I maintain. Alexis. --Sig_/P7kmIbJeg.ySBWAVpfUf+zS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhQ4X4ACgkQvFcC4BYPU0qZ4gCfT+7F3++e5bDGl0Sc8RFvwD9G 9W0AoMgmYkgGFoX/P4JQrL6qGt5RPQ3F =BFio -----END PGP SIGNATURE----- --Sig_/P7kmIbJeg.ySBWAVpfUf+zS-- -- gentoo-dev@lists.gentoo.org mailing list