Semantic MediaWiki and related extensions
Protected Member Functions | List of all members
SMW\Scribunto\Integration\JSONScript\SemanticScribuntoJsonTestCaseScriptRunnerTest Class Reference
Inheritance diagram for SMW\Scribunto\Integration\JSONScript\SemanticScribuntoJsonTestCaseScriptRunnerTest:
Inheritance graph
[legend]
Collaboration diagram for SMW\Scribunto\Integration\JSONScript\SemanticScribuntoJsonTestCaseScriptRunnerTest:
Collaboration graph
[legend]

Protected Member Functions

 setUp ()
 
 getRequiredJsonTestCaseMinVersion ()
 
 getTestCaseLocation ()
 
 getPermittedSettings ()
 

Detailed Description

See also
https://github.com/SemanticMediaWiki/SemanticMediaWiki/tree/master/tests#write-integration-tests-using-json-script

JsonTestCaseScriptRunner provisioned by SMW is a base class allowing to use a JSON format to create test definitions with the objective to compose "real" content and test integration with MediaWiki, Semantic MediaWiki, and Scribunto.

The focus is on describing test definitions with its content and specify assertions to control the expected base line.

JsonTestCaseScriptRunner will handle the tearDown process and ensures that no test data are leaked into a production system but requires an active DB connection.

semantic-scribunto medium

GNU GPL v2+

Since
1.0
Author
mwjames

Member Function Documentation

◆ getPermittedSettings()

SMW\Scribunto\Integration\JSONScript\SemanticScribuntoJsonTestCaseScriptRunnerTest::getPermittedSettings ( )
protected
See also
JsonTestCaseScriptRunner::getPermittedSettings

◆ getRequiredJsonTestCaseMinVersion()

SMW\Scribunto\Integration\JSONScript\SemanticScribuntoJsonTestCaseScriptRunnerTest::getRequiredJsonTestCaseMinVersion ( )
protected
See also
JsonTestCaseScriptRunner::getRequiredJsonTestCaseMinVersion
Returns
string

◆ getTestCaseLocation()

SMW\Scribunto\Integration\JSONScript\SemanticScribuntoJsonTestCaseScriptRunnerTest::getTestCaseLocation ( )
protected
See also
JsonTestCaseScriptRunner::getTestCaseLocation
Returns
string

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy