TestNG: More than one @DataProvider for one @Test

后端 未结 4 1387
失恋的感觉
失恋的感觉 2021-02-02 10:27

I\'m using TestNG for Eclipse.

Is it possible to give two data providers step by step to the same test-function?

I co

4条回答
  •  庸人自扰
    2021-02-02 11:13

    Yes,

    You can write @Test(dataProvider="name_of_first_dataprovider,name_of_second_dataprovider")

提交回复
热议问题