Hi Huijun,

maven_install.json should be created automatically by Bazel. I think what I 
need to do is update WORKPLACE, but I think the JUnit and Mockito are loaded as 
dependencies for PowerMock. The only Java testing framework I see in WORKPLACE 
is PowerMock, so I guess I would need to update that to force a JUnit upgrade? 


On 2021/10/15 21:19:05, H W <[email protected]> wrote: 
> If I understand correctly, change this line,
> https://github.com/apache/incubator-heron/blob/master/maven_install.json#L3056
> .
> "junit:junit:4.12" ->  "junit:junit:5.x"
> 
> 
> On Fri, Oct 15, 2021 at 9:03 AM Saad Ur Rahman <[email protected]>
> wrote:
> 
> > Hello Everyone,
> >
> > Can anyone guide me on how I can update the JUnit 4 dependency to JUnit 5
> > (Jupiter)? I would like to try and upgrade this dependency and see if it
> > breaks anything. If all is well with the update to JUnit 5 I shall try and
> > update PowerMock and Mockito. Upgrading all of these will allow us to write
> > cleaner and more comprehensive tests.
> >
> >
> > /Saad
> >
> 

Reply via email to