Help:Pickle/zh

'This is a page describing a proposed solution. It is not finalized, for now it is just ramblings.''' Sorry about that, to all those that want to do full spec-tests in Lua right away!''

Spec is a project to build a spec-style testing environment for projects using Lua-scripts to implement advanced templates. Spec-style testing can be described as variant of unit testing, or how to make the thing right.

Quick tour
How to set up and use spec tests, run them interactively and understand the reports. There are some specific terms concerning specs in general and its use on wikis in particular. They have been defined in.

高级工具
Some advanced tools are available, for specific purposes. They have been regrouped on these subjects:
 * The specs docpage can be given a special template that not only reports the results on the doc page but also categorizes the page if the tests fails.
 * The specs docpage can be given a special template that not only reports the results on the doc page but also categorizes the page if the tests fails.


 * Both test and source pages can run tests in the console. At the test page only a single test set will be run, but at the source page all subpages that is recognized as spec pages will be run.
 * Both test and source pages can run tests in the console. At the test page only a single test set will be run, but at the source page all subpages that is recognized as spec pages will be run.