I am starting a new Java project on the MicroEJ SDK and I’d like to add some JUnit test cases, however when I try to add a new test case from the
New > Others... > JUnit > JUnit Test Case menu and attempt to build my project for use on hardware, I get this SOAR ERROR :
=============== [ Launching SOAR ] ===============
1 : SOAR ERROR
Soar image generation aborted.
[M51] - Class java.lang.reflect.Array not found (class is referenced by the class org/hamcrest/internal/ArrayIterator).
I don’t get this error when running on the simulator, and removing my test case and the JUnit dependency from my classpath removes the error and my project builds and run fine. Is there a JUnit support issue here ? Is there another way to add test cases ?