Can you point to the tutorial you're referring to, so that I can try to
reproduce the problem?

Gj

On Fri, May 15, 2020 at 6:18 AM HRH <hrh...@yahoo.com.invalid> wrote:

> Hi, I am following the tutorial step by step but LibClassTesting.java
> (generated JUnit test class by the IDE) fails. Here is the trace:
>
> Testsuite: org.me.mylib.LibClassTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec
>
> Testcase: initializationError(org.me.mylib.LibClassTest):    Caused an
> ERROR
> No runnable methods
> java.lang.Exception: No runnable methods
>     at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>     at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>     at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
>     at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
>
> Thanks
>

Reply via email to