Re: How to test a NetBeans Platform app? NbTestCase classpath woes

2019-05-08 Thread Emilian Bold
Indeed, the java.class.path is much larger for tests. --emi On Fri, Apr 26, 2019 at 10:24 PM Emilian Bold wrote: > > One trick I learned is that .clusters() is applied only to the cluster > folder name, not the full path. > > This was kinda obvious really, but since the current suite has the > c

Re: How to test a NetBeans Platform app? NbTestCase classpath woes

2019-04-26 Thread Emilian Bold
One trick I learned is that .clusters() is applied only to the cluster folder name, not the full path. This was kinda obvious really, but since the current suite has the cluster under build/cluster I assumed it might be the full path. But no, your regexp has to also match 'cluster'. This doesn't

How to test a NetBeans Platform app? NbTestCase classpath woes

2019-04-25 Thread Emilian Bold
Hello, I'm trying to introduce NbTestCase into a large existing app and I'm getting all kinds of what seem to be class-loader/classpath problems. The whole NbModuleSuite.Configuration is quite limited in what it does and I can't seem to find any combination of settings that starts the application