On Wednesday, January 8, 2014 1:31:30 AM UTC-4, Marc R. Hoffmann wrote:
> Hi,
>
>
>
> you can use Hamcrest Matchers with JaCoCo/EclEmma. There are no known
>
> limitations.
>
>
>
> Best regards,
>
> -marc
>
>
>
> On 07.01.14 22:39, [email protected] wrote:
>
> > Good day,
>
> >
>
> > We are using Hamcrest Matchers in our JUnit tests and this does not seem to
> > affect the coverage report.
>
> >
>
> > Are they supported in any fashion?
>
> >
>
> > Thank you,
>
> >
>
> > Troy
>
> >
Thanks for the reply,
The unfortunate thing is none of the objects tested with Matchers register as
covered assertThat(result, hasProperty("x", equalTo("xValue")),
whereas making an assertion does assertEquals("xValue", result.getX()) does.
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.