Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Alexis Ballier <aballier@g.o>
Subject: Re: A unit-testing prototype
Date: Thu, 12 Jun 2008 10:42:38 +0200
On Thu, 12 Jun 2008 00:48:01 -0700
Donnie Berkholz <dberkholz@g.o> 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 (PGP signature)
References:
A unit-testing prototype
-- Donnie Berkholz
Re: A unit-testing prototype
-- Donnie Berkholz
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: A unit-testing prototype
Next by thread:
Re: A unit-testing prototype
Previous by date:
Re: Re: Agenda [WAS: One-Day Gentoo Council Reminder for June]
Next by date:
Re: Re: Agenda [WAS: One-Day Gentoo Council Reminder for June]


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.