Hi!

 

I've just come around Test-Control - great module, simplifies in-container
testing a lot. But I discovered one thing and I'm not sure if it's intended
or a bug:

 

@Inject is resolved for fields of the test class object itself only, not for
fields of base classes. As a workaround I use
BeanProvider.injectFields(this), but I would expect injections to be
resolved automatically for the test class object as a whole, not just for
the derived class part.

 

Regards, Dirk

Reply via email to