"Alex Queiroz" <[EMAIL PROTECTED]> 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).


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to