Noticed that the followings are removed/commented out from test module pom
files after checking it with several products.
system properties
--------------------------
<property>
<name>extracted.dir</name>
<value>wso2appserver-${pom.version}</value>
</property>
<property>
<name>emma.home</name>
<value>${basedir}/target/lib</value>
</property>
<property>
<name>jar.list</name>
<value>${basedir}/../src/test/resources/jarlist.txt</value>
</property>
<property>
<name>emma.output</name>
<value>${basedir}/../target/emma</value>
</property>
plugin
---------
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<includeTypes>jar</includeTypes>
<includeArtifactIds>emma
,org.wso2.carbon.integration.core</includeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
We need enable above maven configs and keep the jar list at the specified
location. Then only it will generate .em and .ec files which are to be used
for generating emma reports.
But we have the limitation as mentioned by denis. The test coverage
percentage value depends on the jarlist used.
Ref: @carbon-dev: "Get the test coverage of your product [Fwd: Extending
"Release Readiness Week"]"
Thanks
Thilini
On Sat, Dec 17, 2011 at 8:30 PM, Denis Weerasiri <[email protected]> wrote:
>
>
> On Fri, Dec 16, 2011 at 5:14 PM, Afkham Azeez <[email protected]> wrote:
>
>> When we run the integration tests we notice that some Emma
>> instrumentation happens. But where are these reports?
>
> These test results give some idea of the % of code coverage happen during
> the tests. But these results were not accurate though.
>
>> Can we integrate these reports into Bamboo?
>
>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thanks,
> Denis
> ----------------------------------------------------------
> *Denis Weerasiri*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: denis <http://goog_277208233/>** [AT] wso2.com <http://wso2.com/>*
> *phone: +94716844450
> *
> *site:
> **https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/>
> *blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
> *
> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
> *
> linked-in:
> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>
>
--
Regards
Thilini Ishaka
WSO2 Inc
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev