Parameter 'google' is required by @Configuration on method setUp but has not been marked @Optional or defined

后端 未结 4 1612
小鲜肉
小鲜肉 2021-01-06 14:36

There are couple of thread regarding same error but they are not active ,I think last they were active was around 1 yr back so I am opening the new thread .

4条回答
  •  情书的邮戳
    2021-01-06 15:17

    It seems that TestNG created the testng.xml programatically because it can't find your testng.xml or you ran your project as a TestNG Test instead of your testng.xml file.

提交回复
热议问题