Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] A unit-testing prototype
Date: Thu, 12 Jun 2008 07:48:08
Message-Id: 20080612074801.GC9607@comet
In Reply to: [gentoo-dev] A unit-testing prototype by Donnie Berkholz
1 On 02:47 Mon 26 May , Donnie Berkholz wrote:
2 > A while back, vapier added some tests for the toolchain-funcs eclass to
3 > /usr/portage/eclass/tests/. I really like the idea, and I recently
4 > discovered an xUnit-style unit-testing framework for shell scripts
5 > called ShUnit2. I played with it a little and made a couple of
6 > prototypes. Take a look and see what you think.
7
8 I've heard two positive comments on IRC and nothing else, so I'm
9 proceeding with this. I'll be adding these to the existing
10 /usr/portage/eclass/tests/, adding shunit2 to the tree, and beginning
11 some work looking into unit tests for portage's bash code.
12
13 Probably some for app-shells/bash would also be useful, since we seem to
14 pretty consistently run into weird breakage on new versions.
15
16 Thanks,
17 Donnie
18 --
19 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] A unit-testing prototype Alexis Ballier <aballier@g.o>
Re: [gentoo-dev] A unit-testing prototype "Rémi Cardona" <remi@g.o>