awesome-java
awesome-java copied to clipboard
Added WebTau
WebTau helps to write tests across layers within the same test suite. E.g. combine HTTP requests, browser validation, CLI runs/validation, DB, etc. Uses the same set of consistent matchers and produces report that captures everything that happened across the layers.
It has rich, dynamic report to quickly navigate to a problem space and get required info to troubleshoot.
It has Groovy DSL as well as REPL to quickly prototype larger tests with fast feedback loop.
example of a HTTP layer
@Test
public void checkWeather() {
http.get("/weather", (header, body) -> {
body.get("temperature").shouldBe(lessThan(100));
});
}
example of Browser layer
PageElement box = $("#search-box");
PageElement results = $("#results .result");
browser.open("/search");
box.setValue("search this");
box.sendKeys(browser.keys.enter);
results.count.waitToBe(greaterThan(1));