lua-users home
lua-l archive

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


On Mon, Apr 12, 2010 at 1:16 PM, Scott Vokes <vokes.s@gmail.com> wrote:
> On Fri, Apr 9, 2010 at 10:31 PM, Sam Roberts <vieuxtech@gmail.com> wrote:
>> YMMV, but in case anybody has similar taste to me, maybe this
>>  http://blog.octetcloud.com/?p=32
>> will save them some work.
> There's also my Lunatest (http://github.com/silentbicycle/lunatest).
> It's upwardly compatible from lunit, but it doesn't depend on the
> shell script or anything else besides Lua. It also has support for
> randomized testing (somewhat like Haskell's Quickcheck), and some
> additional predicates for metatables and the like.

Worth dumping a link on the wiki page:

http://lua-users.org/wiki/UnitTesting

If you want it to emerge from obscurity.

Interesting to see another approach at hooking script exit, I did

  http://github.com/sam-github/lunit/blob/master/atexit.lua

Cheers,
Sam