The code coverage feature is best described as “experimental”, but please 
create an issue in GitHub and include details of the parameters you are passing 
in (modules pattern etc). http://github.com/robwhitby/xray

Thanks

From: priya dharshni 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, 9 October 2014 13:48
To: general 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] Help in xray code coverage

Hi,

                When I tried with the xray code coverage I got code coverage as 
0% . I am getting the following error message in marklogic error log.

XDMP-CANCELED: Canceled request "dbg:eval(&quot;xquery version 
&quot;1.0-ml&quot;;&#10;  import module namespace 
t=&quot;http://github.com/robwhitby/xray/test&quot; at 
&quot;\xray\test\tests.xqy&quot;;&#10;  t:check-doc1-not-loaded()&quot;)"
in eval("xquery version "1.0-ml";
import module namespace t="http://github.com/robwhitby/xray/test"; at 
"\xray\test\tests.xqy";
t:check-doc1-not-loaded()") [1.0-ml]

In UI when I click on any passed/failed test case I can see

500 Internal Server Error
XDMP-REGEX: (err:FORX0002) fn:matches("xray\test\default-fn-namespace.xqy", 
"\xray\test\more-tests\module-import-relative.xqy") -- Invalid regular 
expression
in /xray/src/modules-filesystem.xqy, at 48:35,

Please let me know if i have missed anything.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to