Semantic MediaWiki and related extensions
|
SMW │ ├─ JsonTestCaseScriptRunner │ └─ LightweightJsonTestCaseScriptRunner │ └─ ExtendedJsonTestCaseScriptRunner ├─ │ └─ │ └─ JsonTestCaseScriptRunnerTest └─ └─ └─ ...
JSON
is internally transformed into a corresponding PHPUnit
dataset with the help of the JsonTestCaseContentHandler
and JsonTestCaseScriptRunner
.JsonTestCaseScriptRunner::getTestCaseLocation
and is automatically run during the PHPUnit
test execution.readmeContentsBuilder.php
can be used to update the list of available test cases including its descriptions.JsonTestCaseScriptRunner
is the base runner that provides all methods necessary to run test cases, it also includes version checks as well as to validate custom defined dependenciesLightweightJsonTestCaseScriptRunner
allows to use the parser
, parser-html
, special
, and semantic-data
type assertionsExtendedJsonTestCaseScriptRunner
provides additional assertion methods