Skip to content

Commit 9d12b43

Browse files
docs: add example tests and non-engineer intro copy (#259)
1 parent 61ca4a7 commit 9d12b43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/shortest/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ shortest([loginAsLawyer, ...allAppActions]);
137137
shortest([loginAsContractor, ...allAppActions]);
138138
```
139139

140+
Shortest's style allows non-engineers such as designers, marketers, and PMs to write tests. Here are some examples:
141+
142+
```typescript
143+
shortest("visit every page and ensure no typos");
144+
shortest("visit every page and ensure mobile layout isn't janky");
145+
shortest("visit every page and ensure dark mode is considered");
146+
```
147+
140148
### API Testing
141149

142150
Test API endpoints using natural language

0 commit comments

Comments
 (0)