Changes

Jump to navigation Jump to search
43 bytes removed ,  19:33, 23 May 2014
no edit summary
This [[Module Library|XQuery Module]] contains annotations and functions for performing Unit XQUnit tests with XQuery.
=Introduction=
The more complex a software application grows, the more error-prone it gets. This is why testing frameworks have been developed, which provide a standardized, automatized way for testing software. The [http://en.wikipedia.org/wiki/XUnit XUnit] frameworks (such as SUnit or JUnit) allow testing of atomic unit of a program, such as single functions and algorithms.
This module borrows heavily from the existing frameworks: it introduces provides various new annotations for testing XQuery functions. Unit functions are provided to assert the validity of arbitrary conditions expressed in XQuery and to raise errors whenever a condition is not satisfied. Some additional functions exist to run all unit tests of the current module or a set of specified library modules.
Please note that this With {{Version|7.9}}, the module is still has been further stabilized and better integrated in beta stage, and its functionality is still subject to change. Your feedback is welcomethe BaseX GUI.
=Conventions=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu