Sure, agree here that static/final and reflection update is not best
practice.
вт, 13 мар. 2018 г. в 11:26, Vyacheslav Daradur :
> Dmitry, I've changed a logic of my tests and reflection isn't needed
> anymore.
>
> Using reflection in tests, especially on 'private static | final'
> fields may pro
Dmitry, I've changed a logic of my tests and reflection isn't needed anymore.
Using reflection in tests, especially on 'private static | final'
fields may provide side-effects on other tests in a common test suite
which will be started in same JVM because of a previous value that may
be cached in
Hi Vyacheslav,
Why do you think reflection is bad in that case? Tests often use
reflection, moreover U.field() to access some private stuff and test it.
Sincerely,
Dmitriy Pavlov
вт, 6 мар. 2018 г. в 21:11, Vyacheslav Daradur :
> Hi, Igniters!
>
> I need your help about the following question: