Title: Migrate from JUnit 4 to JUnit 5 to resolve deprecation warnings by xerial · Pull Request #897 · msgpack/msgpack-java · GitHub
Open Graph Title: Migrate from JUnit 4 to JUnit 5 to resolve deprecation warnings by xerial · Pull Request #897 · msgpack/msgpack-java
X Title: Migrate from JUnit 4 to JUnit 5 to resolve deprecation warnings by xerial · Pull Request #897 · msgpack/msgpack-java
Description: Summary Migrates msgpack-jackson tests from JUnit 4 to JUnit 5 Resolves all JUnit deprecation warnings Maintains test functionality and backward compatibility Changes Made Dependencies: Updated build.sbt to use JUnit 5 Jupiter and Vintage engines Imports: Replaced JUnit 4 imports with JUnit 5 equivalents Annotations: @Test → @Test (JUnit 5) @Before → @BeforeEach @Test(expected=Exception.class) → assertThrows(Exception.class, () -> {...}) Assertions: Replaced deprecated org.junit.Assert.assertThat with org.hamcrest.MatcherAssert.assertThat Test Results ✅ All tests pass successfully ✅ No more JUnit deprecation warnings ✅ Compilation successful Backward Compatibility The JUnit Vintage engine is included to maintain compatibility with any remaining JUnit 4 tests. 🤖 Generated with Claude Code
Open Graph Description: Summary Migrates msgpack-jackson tests from JUnit 4 to JUnit 5 Resolves all JUnit deprecation warnings Maintains test functionality and backward compatibility Changes Made Dependencies: Updated ...
X Description: Summary Migrates msgpack-jackson tests from JUnit 4 to JUnit 5 Resolves all JUnit deprecation warnings Maintains test functionality and backward compatibility Changes Made Dependencies: Updated ...
Opengraph URL: https://github.com/msgpack/msgpack-java/pull/897
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:881c6b73-15e9-ada8-773a-23aa79e00a23 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FC0:16F251:8E4CFE:C14B83:6A530E57 |
| html-safe-nonce | f0791b35e8fa867ed5af75da4820ac077a7e40c4a4af2d5818315a7b9c8abd47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkMwOjE2RjI1MTo4RTRDRkU6QzE0QjgzOjZBNTMwRTU3IiwidmlzaXRvcl9pZCI6IjUxMjcyODcxOTMzMDQ1MDE4NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ae067fbdf4c761cfd65a30c02eb15f7c8733f3c2acd81b0ad9d7ca7d7830db97 |
| hovercard-subject-tag | pull_request:2679152931 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/msgpack/msgpack-java/pull/897/files |
| twitter:image | https://avatars.githubusercontent.com/u/57538?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/57538?s=400&v=4 |
| og:image:alt | Summary Migrates msgpack-jackson tests from JUnit 4 to JUnit 5 Resolves all JUnit deprecation warnings Maintains test functionality and backward compatibility Changes Made Dependencies: Updated ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/msgpack/msgpack-java git https://github.com/msgpack/msgpack-java.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 1971346 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1971346 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width