TestNG @Listeners ordering issue

后端 未结 1 1508
我寻月下人不归
我寻月下人不归 2021-01-20 02:17

I have multiple listeners in my TestNG test class and its using @Listeners annotations to load the listeners.

My listeners are dependent each others, s

相关标签:
1条回答
  • 2021-01-20 02:32

    TestNG does not guarantee Listeners order as answered here by author Is there a way to define the runorder of two different Testng Listeners? So workaround depends on actions which you do in your listeners, but most probably you have to change these logic (merge listeners etc.).

    0 讨论(0)
提交回复
热议问题