Skip to content
Projetos

Sobre

WebTau (automação de testes web) é uma API de testes, uma ferramenta de linha de comando e um framework para criar testes unitários, de integração e de ponta a ponta. Permite testar APIs REST, WebSocket, GraphQL, navegadores, bancos de dados, CLIs e lógica de negócios com um conjunto consistente de matchers e conceitos. O modo REPL acelera o desenvolvimento de testes. Relatórios detalhados reduzem o tempo de investigação.

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Discord Server

Join Testing Is Documenting Discord Server to ask questions and discuss features/bugs

WebTau

Web Test Automation User Guide

logo

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:

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:

image of http resource code and its output

Data Coverage output example:

image of http data coverage

Supercharged Unit Testing Capabilities

image of map comparison

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()

Learn More

WebSockets

Unbelievably simple way to wait and validate WebSocket messages:

image of websocket test code

Learn more

Personas

Personas concept lets you simplify Authorization Testing scenarios:

image of http persona groovy

image of http persona java

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:

report example

Explore projetos relacionados

Carregando…