jkube
jkube copied to clipboard
(jkube-kit/config/image/) : Migrate tests from JMockit to Mockito
Component
JKube Kit
Task description
Description
Child of https://github.com/eclipse/jkube/issues/857
Migrate the following tests to use Mockito instead of JMockit:
- ImageConfigurationTest
- BuildConfigurationTest
Expected Behavior
All tests in the abovementioned need to be migrated to mockito. All references to jmockit should be removed or replaced with Mockito equivalents.
Acceptance Criteria
- [x] tests should be migrated to mockito
- [x] Dependency
org.jmockit:jmockitshould be removed frompom.xml - [ ] Assertions should be replaced by AssertJ
- [ ] Tests should be evaluated and refactored if applicable (optional)
@rohanKanojia please assign this to me.
I left this one open because the 3rd point of the AC (Assertions should be replaced by AssertJ) was not addressed
@baruKreddy : Could you please address AC which Marc just pointed out?
Sure, will work on it!