@testver/testver 1.1.1 → 1.2.0

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 CHANGED
@@ -106,17 +106,9 @@ Bring your own model. Configure providers in **Settings → LLM** or via environ
106
106
  | Provider | Models | Setup |
107
107
  |---|---|---|
108
108
  | **Testver** | one plan, all top models (Claude, GPT, Gemini) | connect token from [testver.com/account](https://testver.com/account) — `TESTVER_TOKEN` |
109
- | **OpenAI** | GPT-5 / GPT-4.1 / GPT-4o | `OPENAI_API_KEY` |
110
- | **Anthropic** | Claude Sonnet 5 / Opus / Haiku | `ANTHROPIC_API_KEY` |
111
- | **Google** | Gemini 2.5 / 2.0 | `GOOGLE_API_KEY` |
112
- | **xAI** | Grok | `XAI_API_KEY` |
113
109
  | **Ollama** | any local model | install Ollama — no key needed |
114
110
  | **LM Studio** | any local model | start its local server — no key needed |
115
111
 
116
- ```bash
117
- export ANTHROPIC_API_KEY=sk-ant-your-key
118
- # or run fully local with Ollama / LM Studio — nothing leaves your machine
119
- ```
120
112
 
121
113
  > AI is optional. The Runner, Test Management, dashboards, and reporting all work without any LLM configured — AI features simply stay hidden until you add a provider.
122
114
 
@@ -159,11 +151,6 @@ testver serve --host 127.0.0.1 --port 3700 # then put nginx/Caddy/Traefik in f
159
151
  |---|---|---|
160
152
  | `TESTVER_PORT` | Dashboard port | `3700` |
161
153
  | `TESTVER_HOST` | Bind address (use `0.0.0.0` only behind a proxy/VPN) | `0.0.0.0` (serve) |
162
- | `TESTVER_DEFAULT_PROVIDER` | Default LLM: `anthropic` / `openai` / `google` / `xai` / `ollama` / `lmstudio` | — |
163
- | `TESTVER_DEFAULT_MODEL` | Override the model for the default provider | — |
164
- | `OPENAI_API_KEY` / `ANTHROPIC_API_KEY` / `GOOGLE_API_KEY` / `XAI_API_KEY` | Cloud LLM keys | — |
165
- | `OLLAMA_BASE_URL` | Local Ollama endpoint | `http://localhost:11434/v1` |
166
- | `LMSTUDIO_BASE_URL` | Local LM Studio endpoint | `http://localhost:1234/v1` |
167
154
  | `TESTVER_MAX_TOOL_ITERATIONS` | Max AI agent loop iterations (capped at 400) | `400` |
168
155
  | `TESTVER_DEBUG` | Set to `1` to print runner/parser diagnostics | off |
169
156
 
@@ -179,9 +166,6 @@ your-test-project/
179
166
  ├── page-objects/ # analyzed by AI / Code Map
180
167
  ├── playwright.config.ts # framework config (auto-detected)
181
168
  ├── .testver/ # Testver data (auto-created)
182
- │ ├── testver.db # SQLite database
183
- │ ├── config.json # project config
184
- │ └── results/ # run results
185
169
  └── package.json
186
170
  ```
187
171
 
@@ -219,7 +203,7 @@ npm uninstall -g @testver/testver # uninstall
219
203
 
220
204
  **Does Testver modify my test files?** Only when you explicitly ask AI to generate or fix tests — changes are reviewable.
221
205
 
222
- **Where is my data stored?** In the `.testver/` folder inside your project (SQLite + config + results). Nothing leaves your machine except AI prompts to the provider you configured.
206
+ **Where is my data stored?** In the `.testver/` folder inside your project. Nothing leaves your machine except AI prompts to the provider you configured.
223
207
 
224
208
  **Can I use it without AI?** Yes — manual test management, the runner, and dashboards all work without any LLM.
225
209
 
package/bin/testver.js CHANGED
@@ -1,2 +1,14 @@
1
- #!/usr/bin/env node
2
- import '../dist/index.js';
1
+ #!/usr/bin/env node
2
+ // Record when the process started, and for `serve` say so at once.
3
+ //
4
+ // A static `import` of the bundle would evaluate all of Testver — and load
5
+ // every dependency it imports — before a single character reaches the
6
+ // terminal. On a warm machine that is about a second; after a reboot, an
7
+ // update or a rebuild it can be many times that, and the terminal just sat
8
+ // there. The dynamic import below lets this line print first; the server
9
+ // then carries on with its own progress line (src/utils/boot-progress.ts).
10
+ globalThis.__TESTVER_BOOT_T0 = Date.now();
11
+ if (process.argv[2] === 'serve' && process.stdout.isTTY) {
12
+ process.stdout.write('\n \x1b[36m⠋\x1b[0m Loading Testver…');
13
+ }
14
+ await import('../dist/index.js');