Re: beforeTest, afterTest JUnit scenario implementation

2019-03-21 Thread Ivan Fedotov
Hi Ivan, Thank you for your response. In this way, I will finish IGNITE-11411-13 tickets with Rule annotation and minimal changes. чт, 21 мар. 2019 г. в 21:19, Павлухин Иван : > Hi Ivan, > > During migration from junit 3 to 4 multiple options was discussed [1]. > And the main decision about befor

Re: beforeTest, afterTest JUnit scenario implementation

2019-03-21 Thread Павлухин Иван
Hi Ivan, During migration from junit 3 to 4 multiple options was discussed [1]. And the main decision about before/after test method was making as less as possible changes in already existing tests with adding an ability to write new tests using common junit 4 style (i.e. using annotations in new

beforeTest, afterTest JUnit scenario implementation

2019-03-20 Thread Ivan Fedotov
Hi Igniters! I have a questions according to beforeTest(s)/afterTest(s) methods. I tried to make them correspond to JUnit 4+ semantics in the context of iep30 [1]. And I see there two solutions: 1. Place test scenario under the Rule annotation as it has already done in GridAbstractTest [2]. It is