On Thu, 12 Jun 2008 00:48:01 -0700
Donnie Berkholz <[EMAIL PROTECTED]> 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.
> 
> I've heard two positive comments on IRC and nothing else, so I'm 
> proceeding with this. I'll be adding these to the existing 
> /usr/portage/eclass/tests/, adding shunit2 to the tree, and beginning 
> 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.

Attachment: signature.asc
Description: PGP signature

Reply via email to