Eclipse Indigo: implementing JUnit 5 Execution in JavaFX Application
I'm trying to figure out I'm sure I'm missing something obvious here, but I'm working with a frustrating scenario while trying to run JUnit 5 tests for my JavaFX application in Eclipse Indigo (Version 4.7.3)... Despite setting everything up according to the JUnit 5 documentation, when I attempt to execute my test cases, I receive the following behavior message: ``` java.lang.NoClassDefFoundError: org/junit/jupiter/api/Test ``` I've already ensured that I have the JUnit 5 dependencies included in my `pom.xml` file as follows: ```xml <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.8.1</version> <scope>test</scope> </dependency> ``` In my test class, I have: ```java import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class MyJavaFXTest { @Test public void testSample() { assertEquals(2, 1 + 1); } } ``` I've tried cleaning the project and refreshing the Maven dependencies with the following: - Right-click on the project -> Maven -> Update Project - Clean the project from Project -> Clean... - Verified that the JUnit 5 jars are indeed in my `M2` repository. Additionally, I double-checked my build path to ensure there are no conflicts with older JUnit versions. Unfortunately, the tests still unexpected result to recognize the JUnit 5 annotations. Is there something specific I might be missing in the Eclipse setup for JUnit 5? Any advice on how to resolve this would be greatly appreciated! Is there a better approach? What's the correct way to implement this? Any help would be greatly appreciated!