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

apache / commons-io / 448
89%
master: 88%

Build:
Build:
LAST BUILD BRANCH: dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.5.2.0
DEFAULT BRANCH: master
Ran 01 Oct 2019 09:05AM UTC
Jobs 1
Files 142
Run time 8s
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

pending completion
448

Pull #97

travis-ci

web-flow
Migrate test suite to JUnit Jupiter

This patch upgrades the project's testing framework from JUnit 4.12
to the modern JUnit Jupiter 5.5.4.
Since JUnit 5 Jupiter is not backwards compatible to JUnit 4.x (or
even JUnit Vintage), this patch is a bit large, even though a lot of
the changes are merely cosmetic (such as changing the argument order,
see details below). In order to make the reviewer's task as easy as
possible, this patch does not presume to use JUnit Jupiter's best
practices and all its new functionality, but only to migrate the
existing test with as little change as possible. Following patches
may want to improve the tests by using some of JUnit Jupiter's new
features.

This patch includes the following changes:

1. Maven dependency changes:
 a. junit:junit was replaced with org.junit.jupiter:junit-jupiter.
 b. org.junit-pioneer:junit-pioneer was introduced (see details
    below in section 2.g.).

2. Annotations:
 a. org.junit.jupiter.api.Test was used as a drop in replacement for
    org.juit.Test without arguments. See 3.b. and 3.c. for handling
    of @Test annotations with "expected" and "timeout" arguments
    respectively.
 b. org.junit.jupiter.params.ParameterizedTest in conjunction with
    org.junit.jupiter.params.provider.MethodSource was used to
    replace org.juit.Test in test classes run with
    org.junit.runners.Parameterized.
 c. org.junit.runners.Parameterized.Parameters annotations were
    removed, and the methods annotated with them were written to
    match the signature expected of a @MethodSource
 d. org.junit.jupiter.api.BeforeEach was used as an drop in
    replacement for org.junit.Before.
 e. org.junit.jupiter.api.AfterEach was used as a drop in replacement
    for org.junit.After.
 f. org.junit.jupiter.api.Disabled was used as a drop in replacement
    for org.junit.Ignore.
 g. org.junitpioneer.jupiter.DefaultLocale was used as a drop in
    replacement for org.apache.commons.io.testtools.SystemDefaults.
    Th... (continued)
Pull Request #97: IO-628: Migration to JUnit Jupiter

5237 of 5864 relevant lines covered (89.31%)

22603.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 448.1 01 Oct 2019 09:05AM UTC 0
89.31
Travis Job 448.1
Source Files on build 448
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #448
  • Pull Request #97
  • PR Base - master (#440)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc