expect-cli 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -41
- package/dist/index.js +62 -48239
- package/dist/index.js.map +1 -1
- package/package.json +32 -21
package/README.md
CHANGED
|
@@ -1,67 +1,53 @@
|
|
|
1
|
-
#
|
|
1
|
+
# <img src="https://github.com/millionco/testie/blob/main/apps/website/public/icon.svg?raw=true" width="60" align="center" /> Expect
|
|
2
2
|
|
|
3
3
|
[](https://npmjs.com/package/expect-cli)
|
|
4
4
|
[](https://npmjs.com/package/expect-cli)
|
|
5
5
|
|
|
6
6
|
Let agents test your code in a real browser. One command scans your unstaged changes or branch diff, generates a test plan, and runs it against a live browser.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### **[See it in action →](https://expect.dev)**
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npx expect-cli@latest
|
|
13
|
+
npx -y expect-cli@latest init
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
## Usage
|
|
17
17
|
|
|
18
|
-
```bash
|
|
19
|
-
npm install -g expect-cli
|
|
20
18
|
```
|
|
19
|
+
Usage: expect [options] [command]
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
Options:
|
|
22
|
+
-m, --message <instruction> natural language instruction for what to test
|
|
23
|
+
-f, --flow <slug> reuse a saved flow by slug
|
|
24
|
+
-y, --yes skip plan review, run immediately
|
|
25
|
+
-a, --agent <provider> agent provider to use (claude or codex)
|
|
26
|
+
-t, --target <target> what to test: unstaged, branch, or changes (default: changes)
|
|
27
|
+
--verbose enable verbose logging
|
|
28
|
+
-v, --version print version
|
|
29
|
+
-h, --help display help
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
Commands:
|
|
32
|
+
init install expect globally and set up skill
|
|
31
33
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
Examples:
|
|
35
|
+
$ expect open interactive TUI
|
|
36
|
+
$ expect -m "test the login flow" -y plan and run immediately
|
|
37
|
+
$ expect --target branch test all branch changes
|
|
38
|
+
$ expect --target unstaged test unstaged changes
|
|
34
39
|
```
|
|
35
40
|
|
|
36
|
-
|
|
41
|
+
## Resources & Contributing Back
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
Want to try it out? Check out [our demo](https://expect.dev).
|
|
39
44
|
|
|
40
|
-
|
|
45
|
+
Find a bug? Head over to our [issue tracker](https://github.com/millionco/expect/issues) and we'll do our best to help. We love pull requests, too!
|
|
41
46
|
|
|
42
|
-
|
|
43
|
-
Usage: expect [command] [options]
|
|
44
|
-
|
|
45
|
-
Commands:
|
|
46
|
-
unstaged test current unstaged changes (default)
|
|
47
|
-
branch test full branch diff vs main
|
|
48
|
-
```
|
|
47
|
+
We expect all contributors to abide by the terms of our [Code of Conduct](https://github.com/aidenybai/react-grab/blob/main/.github/CODE_OF_CONDUCT.md).
|
|
49
48
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
Options:
|
|
54
|
-
-m, --message <instruction> natural language instruction for what to test
|
|
55
|
-
-f, --flow <slug> reuse a saved flow by slug
|
|
56
|
-
-y, --yes skip plan review, run immediately
|
|
57
|
-
--base-url <url> browser base URL
|
|
58
|
-
--headed run browser visibly instead of headless
|
|
59
|
-
--cookies sync cookies from your browser profile
|
|
60
|
-
--no-cookies disable cookie sync
|
|
61
|
-
-v, --version print version
|
|
62
|
-
-h, --help display help
|
|
63
|
-
```
|
|
49
|
+
[**→ Start contributing on GitHub**](https://github.com/aidenybai/react-grab/blob/main/CONTRIBUTING.md)
|
|
64
50
|
|
|
65
|
-
|
|
51
|
+
### License
|
|
66
52
|
|
|
67
53
|
FSL-1.1-MIT © [Million Software, Inc.](https://million.dev)
|