Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

chore: migrate to Junit 5#157

Merged
felix-seifert merged 2 commits into
masterfrom
felixs/junit-migration
Nov 6, 2023
Merged

chore: migrate to Junit 5#157
felix-seifert merged 2 commits into
masterfrom
felixs/junit-migration

Conversation

@felix-seifert

@felix-seifert felix-seifert commented Nov 1, 2023

Copy link
Copy Markdown
Contributor

The main purpose of this PR is to migrate to Junit 5. Even though we already used some Junit 5 tests, not all tests were migrated. This led to cases where not all tests could be discovered.

With the migration, I reduced the number of direct dependencies and abolished the need to depend on a few old dependencies. Namely, I updated Junit to use the Jupiter Engine and the Jupiter API, okhttp, Mockito, objenesis and the Surefire plugin. Furthermore, I removed the outdated Powermock dependencies because the mapping of final classes is now possible in Mockito.

Side note: Even though the used okhttp packages (mockwebserver and okhttp) could be updated to version 4.12.0, I discovered that they indirectly depend on different versions of kotlin-stdlib-jdk8 and just used version 4.11.0.

@codecov

codecov Bot commented Nov 1, 2023

Copy link
Copy Markdown

Codecov Report

Merging #157 (4bd19c3) into master (4fa26d8) will increase coverage by 0.60%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #157      +/-   ##
============================================
+ Coverage     75.83%   76.44%   +0.60%     
- Complexity      284      286       +2     
============================================
  Files            42       42              
  Lines           985      985              
  Branches         43       43              
============================================
+ Hits            747      753       +6     
+ Misses          212      207       -5     
+ Partials         26       25       -1     

see 1 file with indirect coverage changes

@dennisgranath dennisgranath left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants