@testver/testver 1.0.0 → 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
@@ -105,17 +105,10 @@ Bring your own model. Configure providers in **Settings → LLM** or via environ
105
105
 
106
106
  | Provider | Models | Setup |
107
107
  |---|---|---|
108
- | **OpenAI** | GPT-4o family | `OPENAI_API_KEY` |
109
- | **Anthropic** | Claude Sonnet / Opus | `ANTHROPIC_API_KEY` |
110
- | **Google** | Gemini | `GOOGLE_API_KEY` |
111
- | **xAI** | Grok | `XAI_API_KEY` |
108
+ | **Testver** | one plan, all top models (Claude, GPT, Gemini) | connect token from [testver.com/account](https://testver.com/account) — `TESTVER_TOKEN` |
112
109
  | **Ollama** | any local model | install Ollama — no key needed |
113
110
  | **LM Studio** | any local model | start its local server — no key needed |
114
111
 
115
- ```bash
116
- export ANTHROPIC_API_KEY=sk-ant-your-key
117
- # or run fully local with Ollama / LM Studio — nothing leaves your machine
118
- ```
119
112
 
120
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.
121
114
 
@@ -158,11 +151,6 @@ testver serve --host 127.0.0.1 --port 3700 # then put nginx/Caddy/Traefik in f
158
151
  |---|---|---|
159
152
  | `TESTVER_PORT` | Dashboard port | `3700` |
160
153
  | `TESTVER_HOST` | Bind address (use `0.0.0.0` only behind a proxy/VPN) | `0.0.0.0` (serve) |
161
- | `TESTVER_DEFAULT_PROVIDER` | Default LLM: `anthropic` / `openai` / `google` / `xai` / `ollama` / `lmstudio` | — |
162
- | `TESTVER_DEFAULT_MODEL` | Override the model for the default provider | — |
163
- | `OPENAI_API_KEY` / `ANTHROPIC_API_KEY` / `GOOGLE_API_KEY` / `XAI_API_KEY` | Cloud LLM keys | — |
164
- | `OLLAMA_BASE_URL` | Local Ollama endpoint | `http://localhost:11434/v1` |
165
- | `LMSTUDIO_BASE_URL` | Local LM Studio endpoint | `http://localhost:1234/v1` |
166
154
  | `TESTVER_MAX_TOOL_ITERATIONS` | Max AI agent loop iterations (capped at 400) | `400` |
167
155
  | `TESTVER_DEBUG` | Set to `1` to print runner/parser diagnostics | off |
168
156
 
@@ -178,9 +166,6 @@ your-test-project/
178
166
  ├── page-objects/ # analyzed by AI / Code Map
179
167
  ├── playwright.config.ts # framework config (auto-detected)
180
168
  ├── .testver/ # Testver data (auto-created)
181
- │ ├── testver.db # SQLite database
182
- │ ├── config.json # project config
183
- │ └── results/ # run results
184
169
  └── package.json
185
170
  ```
186
171
 
@@ -218,7 +203,7 @@ npm uninstall -g @testver/testver # uninstall
218
203
 
219
204
  **Does Testver modify my test files?** Only when you explicitly ask AI to generate or fix tests — changes are reviewable.
220
205
 
221
- **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.
222
207
 
223
208
  **Can I use it without AI?** Yes — manual test management, the runner, and dashboards all work without any LLM.
224
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');