Semantic MediaWiki and related extensions
|
Contains 12 files with a total of 55 tests:
mw.smw.ask
functions defined in module.smw.luamw.smw.ask
with format=debugmw.smw.ask
functions defined in module.smw.luamw.smw.info
functions defined in module.smw.infomw.smw.set
functions defined in module.smw.lua#set
for various _num
values without explicit precision (3 digit implicit), with/without leading zero, different printouts, negative numbers (#753, en, smwgMaxNonExpNumber
)#set
for various _qty
values without explicit precision (3 digit implicit), with/without leading zero, and different printouts (#753, en, smwgMaxNonExpNumber
)_boo
datatype (wgContLang=ja
, wgLang=ja
)mw.smw.subobject
functions defined in module.smw.subobject– Last updated on 2017-01-21 by readmeContentsBuilder.php
Integration tests aim to prove that the "integration" between MediaWiki, Semantic MediaWiki, and Scribunto works at a sufficient level therefore assertion may only check or verify a specific part of an output or data to avoid that system information (DB ID, article url etc.) distort to overall test results.
ask-001.json
example on how to structure the JSON file (setup, test etc.)[[SomeProperty::SomeValue]]
) expected to be testedask-001.json
)