How I can generate XML reports ?

I am able to generate HTML and TXT code coverage reports(by default). But when I try to include the option to generate XML reports for the same it tells as following.
Please help me how I can generate XML reports or how I can override default HTML/TXT reports with XML reports using EMMA Coverage instrumentation parameters as mentioned in Build Step?


[EMMA: Instrumenting classes] EMMA commandline: [-verbose, report, -r, xml, -ix, -com.bt.neo.productMetaData.pmf.PmfFileCheckerTest,-com.bt.aib.product.dpc.DistributeProductConsumerStub*,-com.bt.aib.product.dpc.DistributeProductConsumerMessageReceiverInOut*,-com.bt.aib.product.dpc.DistributeProductConsumerCallbackHandler, -cp, E:\ZZZ\BUILD\aib-core\HEAD\ant-extensions\classes, -m, overwrite]

[16:45:39]: [EMMA: Instrumenting classes] emma instr usage: missing required option 'ip'
[16:45:39]: [EMMA: Instrumenting classes] emma instr usage: emma instr [options],
[16:45:39]: [EMMA: Instrumenting classes] where options include:
[16:45:39]: [EMMA: Instrumenting classes] -ip, -cp, -instrpath <class directories and zip/jar files>
[16:45:39]: [EMMA: Instrumenting classes] {required} instrumentation path
[16:45:39]: [EMMA: Instrumenting classes] -d, -dir, -outdir <directory>
[16:45:39]: [EMMA: Instrumenting classes] instrumentation output directory (required for non-overwrite output modes)
[16:45:39]: [EMMA: Instrumenting classes] -out, -outfile <file>
[16:45:39]: [EMMA: Instrumenting classes] metadata output file (defaults to 'coverage.em')
[16:45:39]: [EMMA: Instrumenting classes] -merge (y[es]|n[o])
[16:45:39]: [EMMA: Instrumenting classes] merge metadata into output file, if it exists
[16:45:39]: [EMMA: Instrumenting classes] -m, -outmode (copy|overwrite|fullcopy)
[16:45:39]: [EMMA: Instrumenting classes] output mode (defaults to 'copy')
[16:45:39]: [EMMA: Instrumenting classes] -ix, -filter <class name wildcard patterns>
[16:45:39]: [EMMA: Instrumenting classes] coverage inclusion/exclusion patterns {?,*}
[16:45:39]: [EMMA: Instrumenting classes] -p, -props, -properties <properties file>
[16:45:39]: [EMMA: Instrumenting classes] properties override file
[16:45:39]: [EMMA: Instrumenting classes] -h, -help display usage information
[16:45:39]: [EMMA: Instrumenting classes] {use 'help' option to see detailed usage help}
[16:45:40]: [EMMA: Instrumenting classes] [EMMA v0.0, build 0 (unsupported private build)]
3 comments
Comment actions Permalink

Anybody able to generate Teamcity+EMMA XML report?  It's able to generate only HTML and TXT reports, no XML report? Any XML experience please?

0
Comment actions Permalink

EMMA values given is overridden by default T
eamcity emma settings, is there a way to give priority to my settings?

0
Comment actions Permalink

Hi

Could you post a screenshot how a build step that launches Emma is comfigured in TeamCity please.

Michael

0

Please sign in to leave a comment.