Hi,
I have a sample xquery how to write junits for them..

let $pre-data:="Alan"
let $searchResult := (cts:search (fn:collection("exam")//main:title,
                            cts:element-word-query(xs:QName("main:title"),
$pre-data, ("wildcarded", "case-insensitive"))),
                         <elapseTime>{xdmp:elapsed-time()}</elapseTime>)
return $searchResult.

Please give me the sample junit for it. Also should the flow in
testing start from junit to xdbc and then to the xquery files? Is this
correct?


Regards
Ambika
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to