Testng插件Android Studio中默认已经下载好,在File->Setting->Plugins,搜索Testng
那么如何在gradle中添加成如下图这样的呢:
步骤如下:
File->Project Structure->Dependencies
点+,选择Library Dependency,然后搜索Testng,点击Ok,即可成功添加
Testng插件Android Studio中默认已经下载好,在File->Setting->Plugins,搜索Testng