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

se-edu / addressbook-level4 / 5014 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2019 06:18AM UTC
Files 79
Run time 3s
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

20 Mar 2019 06:14AM UTC coverage: 93.75%. Remained the same
5014.1

push

travis-ci

pyokagan
<a href="https://github.com/se-edu/addressbook-level4/commit/<a class=hub.com/se-edu/addressbook-level4/commit/<a class="double-link" href="https://git"><a class=hub.com/se-edu/addressbook-level4/commit/<a class="double-link" href="https://git"><a class=hub.com/se-edu/addressbook-level4/commit/1cb12c6991a011a70ea48d0f2eae42beafbb810b">1cb12c699">&lt;a href=&quot;https://github.com/se-edu/addressbook-level4/commit/</a><a class="double-link" href="https://github.com/se-edu/addressbook-level4/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/se-edu/addressbook-level4/commit/1cb12c6991a011a70ea48d0f2eae42beafbb810b">1cb12c699</a><a href="https://github.com/se-edu/addressbook-level4/commit/1cb12c6991a011a70ea48d0f2eae42beafbb810b">&lt;a href=&quot;https://github.com/se-edu/addressbook-level4/commit/1cb12c6991a011a70ea48d0f2eae42beafbb810b&quot;&gt;&amp;quot;&amp;gt;StringUtilTest: Remove Hamcrest String matcher

Currently, in StringUtilTest#getDetails_exceptionGiven, we use
Hamcrest&amp;amp;#39;s string matching and assert libraries.
This library was introduced in [1], however no justification was
given on why we specifically used these Hamcrest libraries. In fact,
this is the only instance in the entire project where we use this
dependency.

We are only using the assertThat and contains API of the Hamcrest
library, whose corresponding functionality is already implemented in
JUnit#assertTrue and Java String#contains. The only extra benefit that
this Hamcrest library provides is in its more detailed error message
when tests fail [2]. While convenient, this functionality is not
absolutely critical. This is because developers can use the debugger
to inspect the state of messages right before the error.

There is more value in this case to standardise the usage of our
assert statements. The Hamcrest library introduces a new API that
developers of AB4 will have to learn. New developers might be confused
why we use two different APIs to conduct tests. By standardising to
use the JUnit assertTrue, we remove the need to learn multiple APIs,
while achieving the same outcome.

Hence, let&amp;amp;#39;s remove the Hamcrest libraries and replace them with their
equival... (continued)

1395 of 1488 relevant lines covered (93.75%)

0.94 hits per line

Source Files on job 5014.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4700
  • Travis Job 5014.1
  • 1cb12c69 on github
  • Prev Job for on master (#4994.1)
  • Next Job for on master (#5037.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