monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Testsuite status (SoC)


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Re: Testsuite status (SoC)
Date: Thu, 13 Jul 2006 09:37:08 -0700
User-agent: Mutt/1.5.11+cvs20060403

On Thu, Jul 13, 2006 at 08:55:35AM -0700, Zack Weinberg wrote:
> I'd like to throw out another possibility for testsuite improvement:
> Kill boost::unit_test; move everything into the Lua testsuite.
> 
> This may sound completely crazy, but think about it.  Wouldn't it be
> nice if we didn't have to recompile the entire codebase in order to
> run the test suite?  The way I envision it working is with a bunch of
> extra commands, like the existing fload/fmerge/fdiff, that call into
> the code in just the right places.  Ideally, these extra commands
> would be defined in a separate .cc file or files and could be excluded
> from the installed version of monotone with just a relink.

The whole point of the unit tests is that they get to test all our
internal APIs... writing wrappers to expose each and every detail of
every internal API to the command line is not really going to work out
well.  (Check out the unit tests in roster.cc, say.)

-- Nathaniel

-- 
In mathematics, it's not enough to read the words
you have to hear the music

This email may be read aloud.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]