Changes

Jump to navigation Jump to search
313 bytes removed ,  16:25, 18 February 2015
no edit summary
This [[Module Library|XQuery Module]] contains annotations and functions for performing XQUnit tests.
 
With {{Version|7.9}}, the unit testing functionality has been further stabilized:
 
* Tests are now started with a [[Commands#TEST|TEST]] command.
* Tests can also be executed from the BaseX GUI.
* XQUnit functions can now contain updating functions.<br/> 
=Introduction=
=Usage=
Tests are not started from within XQuery anymore. Instead, a via the [[Commands#TEST|TEST]] commandis now available, which . It compiles all XQuery modules in a given file or directory and runs allfunctions that are annotated with {{Code|%unit:test}}. A test report is generated and returned,which resembles the format returned by other xUnit testing frameworks, such as the MavenSurefire Plugin ([[#Result|see below]]).
=Conventions=
Bureaucrats, editor, reviewer, Administrators
12,345

edits

Navigation menu