Changes

Jump to navigation Jump to search
169 bytes added ,  18:03, 8 March 2013
|-
| width='90' | '''Syntax'''
|{{Code|%xqunit:test}}<br/>{{Code|%xqunit:test("expected", <ERROR>)}}
|-
| '''Summary'''
|With this annotation, a function can be marked a as '''XQUnit test'''. It will be evaluated whenever a test report is created for the module in which this function is located.<br/>If an optional error code is specified and if the function expression does not raise that error, the test will fail.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu