Changes

Jump to navigation Jump to search
108 bytes added ,  19:26, 31 January 2022
no edit summary
|-
| '''Summary'''
|A function decorated with this annotation will be evaluated '''before each''' unit testas a separate transaction.<br/><code>FUNCTION</code> can be supplied as additional argument. It must be a valid [[XQuery 3.0#Expanded QNames|EQName]] string. If specified, the function will only be evaluated before a function with the given name is tested. This extension is e. g. helpful if the results of updates need to be tested.
|-
| '''Examples'''
|-
| '''Summary'''
|A function decorated with this annotation will be evaluated '''after each''' unit testas a separate transaction.<br/><code>FUNCTION</code> can be supplied as additional argument. It must be a valid [[XQuery 3.0#Expanded QNames|EQName]] string. If specified, the function will only be evaluated after a function with the given name is tested.
|}
==unit:before-module==
 
{| width='100%'
|-
|-
| '''Summary'''
|If a function is decorated with this annotation, it will be evaluated '''before all''' unit tests in the current moduleas a separate transaction.
|}
==unit:after-module==
 
{| width='100%'
|-
|-
| '''Summary'''
|If a function is decorated with this annotation, it will be evaluated '''after all''' unit tests in the current moduleas a separate transaction.
|}
==unit:ignore==
 
{| width='100%'
|-
==unit:assert==
 
{| width='100%'
|-
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu