Re: MAC addresses emulation in Testing Framework

2018-03-13 Thread Dmitry Pavlov
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 |

Re: MAC addresses emulation in Testing Framework

2018-03-13 Thread 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 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

Re: MAC addresses emulation in Testing Framework

2018-03-06 Thread Dmitry Pavlov
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