Developing General Java Applications | | | | Developing General Java Applications
Apache NetBeans Developing General Java Applications - Apache NetBeans | | | On Saturday, May 16, 2020, 10:19:25 AM GMT+4:30, HRH <hrh...@yahoo.com> wrote: Here is the link to the tutorial. Everything works up to the JUnit test section. Thanks On Saturday, May 16, 2020, 10:17:15 AM GMT+4:30, Geertjan Wielenga <geert...@apache.org> wrote: 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