junit-webdriver:在 JUnit 中使用 Selenium WebDriver 编写测试的资源库

时间:2021-06-30 05:15:02
【文件属性】:
文件名称:junit-webdriver:在 JUnit 中使用 Selenium WebDriver 编写测试的资源库
文件大小:28KB
文件格式:ZIP
更新时间:2021-06-30 05:15:02
Java junit-webdriver 在 JUnit 中使用 Selenium WebDriver 编写测试的资源库。 特征 junit-webdriver 目前有以下功能。 通过 JUnit ClassRule 提供 WebDriver 驱动程序在类之前构建并在类之后自动销毁 使用 TypeSafe 配置库配置驱动程序 通过在 src/test/resources/{package}/{class}.conf 下提供配置文件,可以在类级别覆盖配置 可以使用配置文件名称下的命名空间覆盖配置,这是使用 webtest.profile 系统属性触发的。 类规则提供的 WebDriver 是线程本地和线程安全的,允许参数化和并行化测试。 通过酱汁实验室提供的浏览器可以是本地的或远程的。 用法 要使用 junit-webdriver,您应该将依赖项和存储库添加到您的项目中,添加一个配置文件,将
【文件预览】:
junit-webdriver-master
----plan(100B)
----.gitignore(101B)
----README.md(3KB)
----pom.xml(10KB)
----src()
--------test()
--------main()

网友评论