Skip to content

Commit 541c0fd

Browse files
docs: update readme with more examples (#1514)
1 parent 741824d commit 541c0fd

5 files changed

Lines changed: 44 additions & 2 deletions

File tree

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,51 @@ Test your application across multiple layers and use unique features:
2828

2929
There are many modules, but you can use any module you need independently, or use all the modules at once with convenient single imports.
3030

31-
Unique console output keeps you informed at all times:
31+
# Unique Console Output
32+
33+
WebTau console output keeps you informed at all times:
3234

3335
![image of http resource code and its output](webtau-docs/readme/live-price-http.png)
3436

35-
**Note**: Tests can be written and [executed as scripts](https://testingisdocumenting.org/webtau/groovy-standalone-runner/introduction) via command line or using [JUnit integration](https://testingisdocumenting.org/webtau/junit5/getting-started) and build systems.
37+
[Data Coverage](https://testingisdocumenting.org/webtau/HTTP/data-coverage) output example:
38+
39+
![image of http data coverage](webtau-docs/readme/http-data-coverage.png)
40+
41+
# Testing Command Line Tools
42+
43+
Testing command lines tools never been easier:
44+
45+
```groovy
46+
def helloWorld = cli.runInBackground("scripts/hello-world")
47+
helloWorld.output.waitTo contain("enter your name")
48+
49+
helloWorld.send("webtau\n")
50+
helloWorld.output.waitTo contain("hello webtau")
51+
52+
helloWorld.stop()
53+
```
54+
55+
[Learn More](https://testingisdocumenting.org/webtau/cli/foreground-command)
56+
57+
# WebSockets
58+
59+
Unbelievably simple way to wait and validate WebSocket messages:
60+
61+
![image of websocket test code](webtau-docs/readme/websocket-output.png)
62+
63+
[Learn more](https://testingisdocumenting.org/webtau/web-socket/received-messages)
64+
65+
# Personas
66+
67+
[Personas concept](https://testingisdocumenting.org/webtau/persona/introduction) lets you simplify Authorization Testing scenarios:
68+
69+
![image of http persona groovy](webtau-docs/readme/http-persona-groovy.png)
70+
71+
![image of http persona java](webtau-docs/readme/http-persona-java.png)
72+
73+
# Java, Kotlin, Groovy Scripts
74+
75+
Tests can be written and [executed as scripts](https://testingisdocumenting.org/webtau/groovy-standalone-runner/introduction) via command line or using [JUnit integration](https://testingisdocumenting.org/webtau/junit5/getting-started) and build systems.
3676

3777
*browser testing example using scripting*
3878
```groovy
@@ -55,6 +95,8 @@ public class WebSearchJavaTest {
5595
}
5696
```
5797

98+
# Rich Reporting
99+
58100
Leverage out of the box rich reporting to speed up investigation and persist testing evidences:
59101

60102
![report example](https://testingisdocumenting.org/webtau/doc-artifacts/reports/report-crud-separated-http-calls.png)
219 KB
Loading
133 KB
Loading
211 KB
Loading
231 KB
Loading

0 commit comments

Comments
 (0)