摘要: TestNG可以通过testng.xml和Data Providers向测试方法传递参数 利用testNG.xml传递参数 1-创建一个TestNG测试类 其中 parameters = {"xml-file","hostname"} 使用来接受参数的,因为有两个值所以有两个参数 package c 阅读全文
posted @ 2020-12-08 14:12 中华田园猫饭饭 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 本地同样需要安装Git,同样在GitHub上加入ssh公共钥匙 如果忘了 去看上一篇 一、本地项目部署到GitHub上 - 中华田园猫饭饭 - 博客园 (cnblogs.com) 1-鼠标右键点击 Git Bash Here 2-输入 $ git clone https://github.com/r 阅读全文
posted @ 2020-12-08 10:49 中华田园猫饭饭 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 部署之前准备工作,本地安装Git和注册一个GitHub账号; 本地安装Git 因为官网下载速度较慢,从其他地方下载 https://npm.taobao.org/mirrors/git-for-windows/ 下载之后安装,鼠标右键 Git Bash Here ,证明安装成功。 git也是需要注册 阅读全文
posted @ 2020-12-08 00:55 中华田园猫饭饭 阅读(381) 评论(0) 推荐(0) 编辑