Extension:Pickle

The Spec (or Behavior-driven development, BDD) extension is a extension for Rspec/Busted style testing for .

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 .

Installation
The code is only available from GitHub: jeblad/spec during development.

Spec depends on the  extension.

For recreating the Vagrant-based development environment, see .

Usage
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.