Unit Tests
This page runs a set of unit tests on the Shakespeare example. The tests are contained in a normal XQuery module, using XQuery annotations for assertions, arguments and more. Click on the source link to see how tests are defined.
http://exist-db.org/apps/demo/shakespeare/tests
| create-query | OK |
| create-query | OK |
| create-query | OK |
| query | OK |
| show-hits | OK |
View source: the tests.