JCoverage "FileNotFoundException" on report generation
I have Mock*DAO classes in the "test" subdir. These classes mirror the few
DAO classes in use to fake the database access in unit tests. They contain
no "*Test" methods.
The tests and plugins successfully run, including JCoverage generating
JCoverage compiles and places class files as I would expect - the Mock
classes to its "test-classes" subdir.
The problem is, JCoverage throws "FileNotFoundException" on generating the
I think JCoverage is trying to process (or incorrectly including) the Mock
classes when generating the report:
Generate report for
OutputDir = c:/devroot/healthmatch/builds/healthmatchbatch/docs/jcoverage
ge\hm\batch\ar\dao\mock\package-frame.html (The system cannot find the path
at java.io.FileOutputStream.open(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I can't determine why this file is not there, nor how to make it ignore
it/not expect it's existence.
I tried to exclude these files using these settings, but they all failed:
added an exclude:
Do I have a config error/not understanding something?
Perhaps is JCoverage plugin not respecting these exclude settings?
Trying to exclude is probably the wrong path anyways.(?)
Can JCoverage (or the plugin?) not handle classes without tests in the test
Can anyone shed light on this or give any guidance please?!
To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]