Running tests on java: org.junit does not exist

I may be overlooking something basic here, but when trying to run tests in the online editor for any exercise on the Java track, I get following error message:

./src/test/java/ScrabbleScoreTest.java:1: error: package org.junit does not exist

This includes exercises I had previously finished. I’m not sure if this has something to do with the version of Java I have installed, but shouldn’t the online editor be independent of that?

You’ll need to share your code and any other files you uploaded too for us to help :slight_smile:

The Java track was recently updated to use JUnit 5, so exercises you completed before the switch should be marked as outdated on the website.

If you update them to the latest version I expect the tests to start working again.

1 Like

Oh, d’oh. That worked. Thank you!

1 Like