[ 
https://issues.apache.org/jira/browse/OLINGO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076199#comment-14076199
 ] 

Michael Bolz commented on OLINGO-377:
-------------------------------------

Hello together,

I changed the tests in the FIT module to use an embedded Tomcat (see: 
{{org.apache.olingo.fit.server.TomcatTestServer}}) instead of the Tomcat 
provided via the 'cargo-plugin' (see 
[commit|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=aaa4f18e351777cae0a9c021dba1bededcfd63f0]).
With this change (and some configuration) now the Cobertura Test Coverage is 
available (see e.g.: [Jenkins 
Job|https://builds.apache.org/job/olingo-377-cobertura/15/cobertura/]).

Now I check compatibility with the current master branch (merge master on the 
[OLINGO-377-FIT|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=shortlog;h=refs/heads/OLINGO-377-FIT]
 branch). 
If all is ok their are no objections I would afterwards (tomorrow) merge the 
changes in the master.

Kind regards,
Michael

> Improve infrastructure in FIT for code coverage support
> -------------------------------------------------------
>
>                 Key: OLINGO-377
>                 URL: https://issues.apache.org/jira/browse/OLINGO-377
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata4-server
>    Affects Versions: V4 4.0.0-beta-01
>            Reporter: Michael Bolz
>            Assignee: Michael Bolz
>            Priority: Minor
>
> Improve infrastructure in FIT for code coverage support.
> Currently {{maven-cobertura}} plugin can not be used to provide code coverage 
> of full (JUnit) integration tests.
> This should be changed by e.g. running the FIT in a embedded Tomcat and/or 
> instrument the deployed {{fit war file}} and connect cobertura to {{cargo 
> Tomcat}} to get coverage results.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to