public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] A unit-testing prototype
Date: Thu, 12 Jun 2008 00:48:01 -0700	[thread overview]
Message-ID: <20080612074801.GC9607@comet> (raw)
In-Reply-To: <20080526094710.GB11722@comet>

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.

Probably some for app-shells/bash would also be useful, since we seem to 
pretty consistently run into weird breakage on new versions.

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list



  reply	other threads:[~2008-06-12  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26  9:47 [gentoo-dev] A unit-testing prototype Donnie Berkholz
2008-06-12  7:48 ` Donnie Berkholz [this message]
2008-06-12  8:42   ` Alexis Ballier
2008-06-12  9:59   ` Rémi Cardona

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080612074801.GC9607@comet \
    --to=dberkholz@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox