[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN]otate
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sat, 27 Apr 2013 06:50:39 +0200
2013/4/27 oliver <email@example.com>:
>> [*]: Ahh, new idea: Unit testing using examples in the docstring ...
> You're probably being sarcastic since you are using the term "docstring",
> but if not, you might get some ideas from python's doctest module , which
> is rather mature.
>  http://en.wikipedia.org/wiki/Doctest
This should not be too hard to do in Lua, but does sit better with a format like
than with the current LDoc format. Still, not hard to teach LDoc to accept that
as an alternative.