- Update build.sbt to use JUnit 5 dependencies (jupiter + vintage)
- Replace JUnit 4 imports with JUnit 5 equivalents
- Convert @test(expected=Exception.class) to assertThrows()
- Update @before to @beforeeach annotation
- Replace deprecated org.junit.Assert.assertThat with Hamcrest assertThat
- Maintain backward compatibility with JUnit Vintage engine
Fixes all JUnit deprecation warnings in msgpack-jackson tests.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Summary
Changes Made
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