This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Re: JUnit integration
- From: "Raif S. Naffah" <raif at fl dot net dot au>
- To: graydon hoare <graydon at redhat dot com>,mauve-discuss at sources dot redhat dot com
- Date: Thu, 27 Nov 2003 21:29:24 +1100
- Subject: Re: JUnit integration
- References: <874qwqjziy.fsf@dub.venge.net>
- Reply-to: raif at fl dot net dot au
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
hello all,
On Thu, 27 Nov 2003 01:50 pm, graydon hoare wrote:
> ...
> I've recently found myself somewhat unsatisfied with mauve...
>
> ...the next logical
> step in my mind -- is whether to start merging mauve into classpath
> so it configures and builds "naturally" as part of the day-to-day
> development cycle on classpath (using the classpath build dir,
> compiler and VM selection, for example, and running as the nominal
> "make check" for classpath)...
(this message is in the spirit of sharing experience and not taking
sides.)
when we started GNU Crypto we were using JUnit, then we converted our
tests to Mauve. we did that for few reasons, most importantly:
* Mauve is much lighter weight than JUnit,
* by supplying few classes and scripts we are able to configure and
carry out the testing in the usual GNU 'make check' way. this way the
developer didnt have to download and/or install any additional software
- --except for gcc and the GNU toolchain.
(for more info, see
<http://savannah.gnu.org/cgi-bin/viewcvs/gnu-crypto/gnu-crypto/gcj/source/Makefile.am?rev=1.36&content-type=text/vnd.viewcvs-markup>,
lines 64, 136-139, and 606-612.)
we had to duplicate the classes (in mauve) under gnu.testlet --except
TestSecurityManager-- and use a shell script (choose-classes) written
by Mark Weilaard (see
<http://savannah.gnu.org/cgi-bin/viewcvs/gnu-crypto/gnu-crypto/source/choose-classes?rev=1.1&content-type=text/vnd.viewcvs-markup>)
adapted to recognise the classes hierarchy rooted under gnu.
for Classpath, there will be (a) no need for duplicating any classes,
nor (b) adapting the choose-classes script! all Classpath would have to
provide is a tarball of mauve sources and the incantations (similar to
what we have in GNU Crypto) to configure and invoke mauve.
cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Que du magnifique
iD8DBQE/xdIN+e1AKnsTRiERA9dKAKCw88TqB9kOVneYHWEPX4kGntLieACfVZCu
N53VZAwEQw+tn1IvttxWexU=
=qzLr
-----END PGP SIGNATURE-----