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