monotone-devel
[Top][All Lists]
Advanced

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

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


From: Bruce Stephens
Subject: [Monotone-devel] Re: Testsuite status (SoC)
Date: Thu, 13 Jul 2006 20:52:19 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Alex Queiroz" <address@hidden> writes:

[...]

> I don't know what you think the costs may be. Lua was designed for
> very easy interfacing with C (much easier than Python), so it was
> utterly painless.

Easier, but still not trivial.  It's surely still four or five lines
per function?

(Amusingly, Python's *really* easy, if you use Boost.Python.  It's a
frighteningly slick library.  Not lightweight, though.)

> And we won a lot in flexibility, such as putting related test
> functions in different Lua modules and running only the tests we
> want at a given time.

Ah, OK.  Yes, that's a neat thing to do, that can be tricky to do
without fiddling.  I tend to think of "unit tests" as being tests that
run so fast that you don't need to worry about running a subset---just
run the whole lot.  However, that's not universally the case (and for
monotone it's not).




reply via email to

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