关于
WebTau(Web 测试自动化)提供测试 API、命令行工具和测试框架,可用于编写单元测试、集成测试和端到端测试。它用一套统一的匹配器和概念测试 REST API、WebSocket、GraphQL、浏览器、数据库、CLI 和业务逻辑。REPL 模式可加快测试开发,丰富的报告功能可缩短问题排查时间。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Discord Server
Join Testing Is Documenting Discord Server to ask questions and discuss features/bugs
WebTau
Web Test Automation User Guide

WebTau (Web Test automation) - concise and expressive way to write end-to-end and unit tests.
Test your application across multiple layers and use unique features:
- REST API with Data Coverage
- Web Socket
- GraphQL API
- Authorization Personas
- Browser
- Fake, Static And Proxy Servers
- Database
- CLI
- Business Logic (JVM only)
- REPL
- Reporting
- Documentation Assistance
There are many modules, but you can use any module you need independently, or use all the modules at once with convenient single imports.
Unique Console Output
WebTau console output keeps you informed at all times:

Data Coverage output example:

Supercharged Unit Testing Capabilities

Testing Command Line Tools
Testing command lines tools never been easier:
def helloWorld = cli.runInBackground("scripts/hello-world")
helloWorld.output.waitTo contain("enter your name")
helloWorld.send("webtau\n")
helloWorld.output.waitTo contain("hello webtau")
helloWorld.stop()
WebSockets
Unbelievably simple way to wait and validate WebSocket messages:

Personas
Personas concept lets you simplify Authorization Testing scenarios:


Java, Kotlin, Groovy Scripts
Tests can be written and executed as scripts via command line or using JUnit integration and build systems.
browser testing example using scripting
scenario("search by specific query") {
search.submit("search this")
search.numberOfResults.waitToBe > 1
}
$ webtau testscript.groovy
browser testing example using JUnit
public class WebSearchJavaTest {
@Test
public void searchByQuery() {
search.submit("search this");
search.numberOfResults.waitToBe(greaterThan(1));
}
}
Rich Reporting
Leverage out of the box rich reporting to speed up investigation and persist testing evidences:

探索相关项目
加载中…