Does JaCoCo work for blackbox rest testing?

35 views
Skip to first unread message

Christian

unread,
Nov 13, 2017, 8:27:04 AM11/13/17
to JaCoCo and EclEmma Users
Hello,

I have some tests that create an Arquillian container in which they call some of the routes. But those tests have no code coverage at all according to JaCoCo.

So my question is: does JaCoCo even support that?

Best regards,
Christian

Christian

unread,
Nov 13, 2017, 8:35:14 AM11/13/17
to JaCoCo and EclEmma Users
I should add that I use a ClientBuilder for that. Any other test seem to work for code coverage.

Christian

unread,
Nov 13, 2017, 8:56:16 AM11/13/17
to JaCoCo and EclEmma Users
I just found out what causes this behavior: @RunAsClient. I have to admit that I am not quite sure if I really need it. 

Marc Hoffmann

unread,
Nov 14, 2017, 1:39:23 AM11/14/17
to jac...@googlegroups.com

Hi,

the Aquillian integration is a separate project:

http://arquillian.org/modules/jacoco-extension/

Please find the team here:

http://arquillian.org/community/

Cheers,
-marc

 

 

On 2017-11-13 14:56, Christian wrote:

I just found out what causes this behavior: @RunAsClient. I have to admit that I am not quite sure if I really need it. 

 

--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/1196324d-0b02-4fe3-9a42-70d13bcce03a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

supar...@gmail.com

unread,
Nov 15, 2017, 6:38:00 AM11/15/17
to JaCoCo and EclEmma Users
Hi,

We were working on this some times back and realized that not much help is available in internet over this.

Feel free to check out our solution here for Blackbox testing using jacoco:

http://www.qalearningguide.com/2017/10/code-coverage-for-android-using-jacoco.html

Hope this helps you as well.

Thanks,
Suparna

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages