Rob, any advice here? E
Eric Bloch Director, Community MarkLogic Corporation desk +1 650 655 2390 | mobile +1 650 339 0376 email [email protected]<mailto:[email protected]> web developer.marklogic.com<http://developer.marklogic.com> twitter @eedeebee On Jun 18, 2013, at 12:44 PM, Michael Blakeley <[email protected]<mailto:[email protected]>> wrote: https://github.com/robwhitby/xray/tree/coverage has an implementation. I haven't heard from Rob about merging this into the main xray branch, but the branch is available. -- Mike <image002.png> On 18 Jun 2013, at 12:40 , Geert Josten <[email protected]<mailto:[email protected]>> wrote: Hi Mihir, You would need to parse/analyze both your xquery code, as well as the unit tests itself. It would roughly come down to getting a list of all modules and all functions in each module. Count references to them from your unit tests, calculate how many are/are not referenced compared to the total.. There is xquery code available to parse xquery code, or you could look into the somewhat older xqdoc project that has java code to parse xquery code, and returns function lists for them.. There are some developer tools around, but haven’t heard they support these kind of features.. Cheers, Geert Van: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>]Namens Mihir Das Verzonden: dinsdag 18 juni 2013 4:04 Aan: [email protected]<mailto:[email protected]> Onderwerp: Re: [MarkLogic Dev General] Code coverage in Xquery Hi Eric, Could you please suggest the possible way of doing this? Thanks! Mihir > > > Message: 2 > Date: Wed, 12 Jun 2013 21:41:15 +0000 > From: Eric Bloch <[email protected]<mailto:[email protected]>> > Subject: Re: [MarkLogic Dev General] Code coverage in Xquery > To: MarkLogic Developer Discussion > <[email protected]<mailto:[email protected]>> > Message-ID: > > <93acebc222c637479703aca6268e67162c5...@exchg10-be01.marklogic.com<http://EXCHG10-BE01.marklogic.com>> > Content-Type: text/plain; charset="iso-8859-1" > > I'm not aware of any tooling for this today. > > -Eric > > On Jun 12, 2013, at 9:32 AM, Mihir Das > <[email protected]<mailto:[email protected]>> > wrote: > > > Guys, > > > > I need suggestion to find out Code coverage in unit testing of Xquery. > > > > Thanks in advance! > > > > Mihir > > _______________________________________________ > > _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
