RunWith has been deprecated with JUnit 5. ExtendWith is the new annotation but I haven't been able to get to work locally using modified JUnitRunner https://www.baeldung.com/junit-5-extensions