lua-users home
lua-l archive

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



On Mon, Aug 22, 2016 at 17:41 Sean Conner <sean@conman.org> wrote:
It was thus said that the Great tyrondis once stated:
> Hi *,
>
> I am looking for a BDD unit testing framework for Lua that has no
> dependencies, so that I can run my tests inside an embedded system. So far
> I found https://github.com/mirven/luaspec, but I do not like its syntax.
>
> Is there anything out there with a syntax like Busted
> (http://olivinelabs.com/busted/), but has no dependencies?

  Why not just write the tests directly?  I did that for my signal module:

https://github.com/spc476/lua-conmanorg/blob/master/test/signal-test.lua

  The only dependency is the module it's testing.

  -spc (Actually, I'm very puzzled over testing frameworks in general ... )




Testing is like logging. It can always be made more complicated.