This project really need someone in addition to me that has more knowledge
about how to make an extension production ready, that is someone that can
be "maintainer" when the project is done.
Anyone? Free cookies!! :D
On Sat, May 21, 2016 at 11:56 AM, John Erling Blad <jeblad(a)gmail.com> wrote:
Hi all,
wrote an application for an IEG-grant on creating a testing environment
for Lua-scripts.[1] Perhaps it is interesting for you. It is mainly a tool
for on-wiki testing of scripts, and I'm not sure if it is that interesting
for use for off-wiki testing.
When I wrote the application I said it was about BDD-style testing, but it
would probably be better to describe it as testing with spec-statements.[2]
It is somewhat similar to the library "Busted",[3] but it use expect
instead of assert.
No changes to the Lua core is necessary to run this kinds of tests, it is
mostly to get proper localization of messages and a bit more stability and
reputability.
Likewise i sketched an alternate future grant application for ATDD-style
testing. This is testing with step-statements. The BDD-lib will only do
spec-type testing.
Add yourself to endorsement if you think this is a good idea! :)
[1]
https://meta.wikimedia.org/wiki/Grants:IEG/Lua_libs_for_behavior-driven_dev…
[2]
https://en.wikipedia.org/wiki/Behavior-driven_development
[3]
http://olivinelabs.com/busted/