Help with Junit testing - is Junit5 supported?

I am trying to create a project with unit testing. I already have JUnit5 tests set up in Eclipse. The documentation for unit testing claims that Junit5 is supported. Yet, my JUnit5 imports don’t work. Here are the imports

import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

and this is the output I get when I try to run the test

Do I need to change some setting to JUnit5? Thanks!

Hi @bkm welcome to the community!

Can you please share a link to your Repl so other users can see how it is setup and maybe suggest some ideas?

Hi, how does one share a repl? I am pretty new to this.

Hi @bkm you have two options:

  1. You can copy the web address from the browser tab where you are working on the repl. This will give users access to a read only version of your code.
  2. You click the Share button and then copy the invite code and paste it here. This will give other users the ability to change your code.

Choose wisely! :smiley: