Extension:Pickle/ja

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

要件
Spec depends on the extension.

インストール
The code is only available from GitHub: jeblad/spec during development. For recreating the Vagrant-based development environment, see.