DocTest QML Type Test A test project for QDoc build artifacts Represents a doc test case. This type was introduced in QDoc.Test 0.9. Import Statement import QDoc.Test 1.1 Since: QDoc.Test 0.9 Detailed Description Introduction A documentation test case, itself documented inline in DocTest.qml. Property Documentation active : bool bool active writable public active unspecified Whether the test is active. See also name name : string string name writable public active unspecified Name of the test. <@type>DocTest</@type> { <@name>name</@name>: <@string>&quot;test&quot;</@string> <@comment>// ...</@comment> } Method Documentation fail(message = "oops") Fails the current test case, with the optional message. This method was introduced in QDoc.Test 1.0.