• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yarpc / yarpc-java / 949 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2017 09:13PM UTC
Files 47
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Feb 2017 09:06PM UTC coverage: 43.75%. Remained the same
TYPE=test GITHUB_TOKEN=[secure]

push

travis-ci

web-flow
tests: Use MockitoRule with strict stubs (#215)

This replaces all uses of `MockitoAnnotations.initMocks` with
`MockitoRule` and [`STRICT_STUBS`].

MockitoRule automatically injects mocks for `@Mock` annotations and
verifies them to catch stubbing issues. This even affects mocks created
manually in that test with `Mockito.mock(..)`, hence the change in
DispatcherTest which doesn't have any `@Mock` annotations.

Note that strict stubs are  intended to be the default behavior in
Mockito 3. Until then we'll have to remember to pass the argument to the
rule everywhere we use mocks.

  [`STRICT_STUBS`]: http://static.javadoc.io/org.mockito/mockito-core/2.7.5/org/mockito/quality/Strictness.html#STRICT_STUBS

350 of 800 relevant lines covered (43.75%)

0.44 hits per line

Source Files on job 949.1 (TYPE=test GITHUB_TOKEN=[secure])
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 949
  • Travis Job 949.1
  • ee95d9a2 on github
  • Prev Job for TYPE=test GITHUB_TOKEN=[secure] on master (#946.1)
  • Next Job for TYPE=test GITHUB_TOKEN=[secure] on master (#952.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc