@test-lab-ai/cli 0.2.9 → 0.2.10
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 +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,6 +128,19 @@ A skill change ships as a new CLI version, so `npm i -g @test-lab-ai/cli@latest`
|
|
|
128
128
|
updates it: the CLI auto-refreshes installed copies on first run after an upgrade,
|
|
129
129
|
and `testlab skills update` re-installs the bundled version on demand.
|
|
130
130
|
|
|
131
|
+
### Example prompts
|
|
132
|
+
|
|
133
|
+
With the skill installed, talk to your agent in plain language; it writes the plan
|
|
134
|
+
and runs the CLI. For a feature you just built:
|
|
135
|
+
|
|
136
|
+
- "Write a test-lab test for the signup flow at https://app.example.com/signup and create it in my account."
|
|
137
|
+
- "Add a test-lab smoke test for our /login page (the test creds are already in test-lab), then import it."
|
|
138
|
+
|
|
139
|
+
To import tests you already have:
|
|
140
|
+
|
|
141
|
+
- "Convert the Playwright specs in ./tests/e2e into test-lab plans and import them."
|
|
142
|
+
- "Turn our Cucumber .feature files into test-lab tests and create them in the Checkout project."
|
|
143
|
+
|
|
131
144
|
## For AI agents
|
|
132
145
|
|
|
133
146
|
Run **`testlab examples`** for the complete JSON reference, or read `AGENTS.md`
|