Extension:Pickle

The Spec (or Behavior-driven development, BDD) extension is a extension for Rspec/Busted style testing for scribunto>Special:MyLanguage/Extension:Scribunto|Scribunto. It will provide a very thin integration to PHP and a few Lua modules and their localizations. An overview of the spec extension from a user perspective can be found at Help:Spec. If you have a module like «Module:HelloWorld», the ubiquitous and quite pesky example, it will be coded as something like Then on a test page you would test this like like the following In the final version some of the lines in the beginning and end might be removed.

Requirements
Spec depends on the Scribunto extension.

Installation
The code is only available from GitHub: jeblad/spec during development. For recreating the Vagrant-based development environment, see Help:Spec/Vagrant.