Fri, 27 Mar 2020 06:57:27 GMT
I used TestMe to generate test class. And codes like as shown below were generated
ResultPage<CouponUser> result = couponServiceImpl.getCanUseCouponUseList(...);
Assert.assertEquals(new ResultPage<CouponUser>(0, Arrays.<T>asList(new T())), result);
The T should be Type CouponUser. But, in the assert phase, TestMe did not infer the actual type.
Fri, 27 Mar 2020 21:14:10 GMT
The test generator needs to be enhanced to support these use cases. I hope I I can improve that. I find it annoying as well :)