Re: Providing utilitaries for integration tests

2019-10-13 Thread Mathieu Lirzin
Hello Jacques, Jacques Le Roux writes: > So we give up here, right? I think providing helper methods for integration tests is a good long term idea, So I don't think we should give up. :-) > Le 08/10/2019 à 13:12, Jacques Le Roux a écrit : > >> Hi Mathieu >> >> I forgot to mention that I put t

Re: Providing utilitaries for integration tests

2019-10-13 Thread Jacques Le Roux
Hi Mathieu, So we give up here, right? Jacques Le 08/10/2019 à 13:12, Jacques Le Roux a écrit : Hi Mathieu I forgot to mention that I put this method in GroovyUtil.java. It was hastily done because doing so I rapidly thought that "Anyway it would not add much, just a cover function" It wo

Re: Providing utilitaries for integration tests

2019-10-08 Thread Jacques Le Roux
Hi Mathieu I forgot to mention that I put this method in GroovyUtil.java. It was hastily done because doing so I rapidly thought that "Anyway it would not add much, just a cover function" It works with a complete/correct version:     public static Map testGroovy(Delegator delegator, LocalDisp

Providing utilitaries for integration tests (was: svn commit: r1867889 …)

2019-10-07 Thread Mathieu Lirzin
Hello Jacques, Jacques Le Roux writes: > I had a look at this idea but I finally gave up. I thought about creating > >     public static Map testGroovy(Map paramNames, String > serviceName) { >     userLogin = > EntityQuery.use(delegator).from('UserLogin').where('userLoginId', > 'system')