Getting StartedInstall Testver
Install Testver
This page walks you through getting Testver up and running. It assumes zero prior knowledge. By the end, you’ll have the Testver UI open in your browser at http://localhost:3700.
Introduction
Section titled “Introduction”Testver is an AI-powered test-automation dashboard. It scans your test project, runs your tests, shows results with screenshots and step-by-step details, helps you record and fix tests, and can schedule runs — all from a web dashboard in your browser.
What this guide covers. Everything you need to install and run Testver from the official npm package — the prerequisites, the exact software to install, a local setup on your own computer, and a shared server setup for a whole team. Every step is written so that someone with no prior experience can follow it.
How Testver is delivered. Testver is published on the npm registry as @testver/testver. You install it once with a single command and then run it. There are two ways to set it up, both covered here: on your own computer, or on a server for your whole team.
Key Terms (Plain English)
Section titled “Key Terms (Plain English)”If any of the words below are new to you, read this short list first. You do not need to memorise it — just refer back when needed.
| Term | What it means |
|---|---|
| Terminal | A text window where you type commands. On Windows it is “Command Prompt” or “PowerShell”; on macOS/Linux it is “Terminal”. |
| Node.js | The runtime (engine) that Testver is built on. You must install it first. Install the current LTS version (24). |
| npm | The “Node Package Manager”. It comes bundled with Node.js and is used to install Testver. |
| package | A piece of software published online that npm can download and install. Testver is one such package. |
| global install | Installing a tool so it can be run from anywhere on your computer (used for command-line tools like Testver). |
| dashboard | The Testver web page you open in your browser to see and control everything. |
| port | A numbered “door” on a computer that a program listens on. Testver uses 3700 by default (e.g. http://localhost:3700). |
| localhost | A name that means “this computer”. http://localhost:3700 opens Testver running on your own machine. |
| AI provider | The service supplying Testver’s AI. Either Testver (managed cloud, connected with your Testver account) or a local model server (Ollama / LM Studio). |
Prerequisites & Required Software
Section titled “Prerequisites & Required Software”Before installing Testver, the following must be present on the machine. Items 1–2 are mandatory for everyone. Items 3–5 depend on what kind of tests you run.
Mandatory for everyone
Section titled “Mandatory for everyone”| # | Software | Version | Why it is needed |
|---|---|---|---|
| 1 | Node.js | 22.14 or newer — the current LTS, 24, is recommended | The engine Testver runs on. Installing Node also installs npm. Older versions (Node 20, and Node 22 before 22.14) are not supported — Testver stops with a message asking you to upgrade. |
| 2 | npm | Comes with Node | Used to download and install the Testver package. |
Minimum hardware: any modern laptop/desktop with at least 4 GB RAM (8 GB+ recommended) and ~2 GB free disk space.
Needed depending on your tests
Section titled “Needed depending on your tests”| If your tests use… | You also need to install | Notes |
|---|---|---|
| Playwright, Cypress, Puppeteer, WebdriverIO, Jest, Vitest, Mocha, Cucumber.js (JavaScript/TypeScript) | Node.js (already covered) + the browsers your tests use | Your framework installs its own browsers (for Playwright, npx playwright install). For Testver’s own live tools see Step 4. |
| pytest, Robot Framework (Python) | Python 3.10+ and pip | Install from python.org or your OS package manager. |
| JUnit / TestNG / Cucumber-JVM (Java) | Java JDK 17+ (11 at the least) and Maven or Gradle | Required so Testver can run the Java tests. |
| NUnit / xUnit / MSTest (.NET) | .NET SDK 8.0+ (or the version your project targets) | Install from dotnet.microsoft.com. |
| RSpec (Ruby) | Ruby 3.2+ | Install from ruby-lang.org or your OS package manager. |
| Selenium WebDriver (any of the languages above) | The language’s runtime from this table + the browser and its driver | Selenium Manager (built into Selenium 4.6+) downloads the driver for you. |
| Appium (Android / iOS apps) | Nothing extra to run on a cloud device grid. For local devices: Appium, plus the platform SDK (Android SDK / Xcode) and a connected phone or emulator. | Enable your grid or local devices under Settings → Connectors. See Connectors. |
Needed for AI features
Section titled “Needed for AI features”Testver’s AI features (recording, fixing, chat) need one AI provider connected. You can use Testver to run and view tests WITHOUT one, but AI features stay disabled until you connect it.
- Testver — recommended, and the only cloud option. Connect your Testver account from Testver → Connections (the pinned entry at the bottom of the sidebar); Testver supplies the model, so there is no third-party vendor account to create and no API key to manage.
- Ollama or LM Studio — run a model locally on your own machine, free and fully private. Configured by administrators.
See the LLM tab guide for the details of each.
Local Setup (Your Own Computer)
Section titled “Local Setup (Your Own Computer)”Follow these steps in order on the computer where you want to use Testver. This is the right choice for a single developer/tester.
Step 1 — Install Node.js (the current LTS)
Section titled “Step 1 — Install Node.js (the current LTS)”Windows:
- Open a web browser and go to https://nodejs.org
- Download the “LTS” version (the big green button). LTS means “Long-Term Support” — the stable one.
- Run the downloaded installer and click Next/Agree until it finishes. Leave all options at their defaults.
macOS:
- Go to https://nodejs.org and download the LTS “macOS Installer (.pkg)”, then run it; OR, if you use Homebrew, run the command below.
brew install nodeLinux (Ubuntu/Debian):
# Install Node.js 24 LTS from NodeSourcecurl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -sudo apt-get install -y nodejsStep 2 — Verify Node and npm are installed
Section titled “Step 2 — Verify Node and npm are installed”Open a new terminal window and run these two commands. Each should print a version number.
node --versionnpm --versionYou should see something like v24.10.0 and 11.6.1. If the Node version is below 22.14, install the current LTS again (Step 1).
Step 3 — Install Testver
Section titled “Step 3 — Install Testver”Run this single command. The -g means “global”, so the testver command works from any folder.
npm install -g @testver/testvermacOS/Linux permission errors? If you see an EACCES or “permission denied” error, either re-run with sudo npm install -g @testver/testver, or (better) use a Node version manager such as nvm so global installs don’t need admin rights.
Windows PowerShell says “running scripts is disabled on this system”? On a new Windows PC, PowerShell blocks the small launcher scripts npm creates, so testver (and sometimes npm itself) fails with “testver.ps1 cannot be loaded because running scripts is disabled on this system”. Either use Command Prompt instead, where the same commands work as they are, or allow these scripts once for your own account and open a new PowerShell window:
Set-ExecutionPolicy -Scope CurrentUser RemoteSignedYou may also see a few npm warn deprecated lines while it installs. They are harmless; the install still succeeds.
Verify the install:
testver --versionIt should print the version, e.g. testver v1.4.3.
Step 4 — Browser for live web tooling (usually nothing to do)
Section titled “Step 4 — Browser for live web tooling (usually nothing to do)”Testver’s live web features (AI Assistance browser tools, AI Record, live preview) need a Chromium-family browser. Testver finds one automatically, in this order:
- Playwright’s downloaded browsers, if you ever ran
npx playwright install - Google Chrome installed on your machine
- Microsoft Edge (preinstalled on every Windows PC)
So on Windows — and on any machine with Chrome — there is nothing to install for this step.
You only need the command below in two cases: you want Testver’s live sessions to run in Firefox or WebKit (those exist only as Playwright downloads), or the machine has no Chrome/Edge at all (typical for clean CI servers):
npx playwright installRun it in a folder outside your test project: inside a project, npx uses that project’s Playwright version, which can download a different browser build than the one Testver looks for. If Testver can’t start a browser, its message shows the exact command for the build it needs — run that one.
Note this is about Testver’s own live tooling. Your test suite runs through your framework’s runner exactly as before — Cypress, Selenium and friends manage their own browsers/drivers as usual.
Step 5 — Start Testver
Section titled “Step 5 — Start Testver”In your terminal, move into your test project’s folder, then start the dashboard server:
# Windows examplecd C:\path\to\your\test-automation-framework# macOS/Linux examplecd /path/to/your/test-automation-framework# Start the dashboardtestver serveYou will see a banner that says the server is running, with a line like Local: http://localhost:3700.
While it starts, a single line shows what Testver is doing — Loading Testver, Preparing AI providers, Opening project data, Mounting services, Loading skills, Opening test management, Starting web server on port 3700 — with a running timer, then ✔ Testver is ready in 1.4 s and the banner. A normal start takes one to two seconds.
The first start after a restart, an update or a rebuild can take noticeably longer. That is not your project: it is the computer reading Testver’s files for the first time since they left its disk cache, with antivirus scanning each one as it is read. Later starts are fast again. When a start takes longer than eight seconds, Testver says so under the banner. (Run from a service manager such as systemd or pm2, the same steps are written as plain log lines instead of a spinner.)
Server logs. Once the banner is up, the terminal stays quiet. Everything the server reports from then on — scheduled reports firing or failing, background services, errors — is written to your project’s .testver/logs folder (the banner’s Logs line), one file per day such as testver-2026-11-02.log. Files older than 30 days are deleted automatically, and the folder is kept out of Git. Under pm2, systemd, Docker or Kubernetes (also with docker run -t) the same lines still go to their own logs too. If the folder can’t be written, nothing is hidden: the banner has no Logs line and everything stays in the terminal. To also see them in the terminal, start Testver with the TESTVER_LOG_CONSOLE=1 environment variable set.
Step 6 — Open the dashboard and create your account
Section titled “Step 6 — Open the dashboard and create your account”- Open your web browser and go to: http://localhost:3700 (or the address on the banner’s Local: line, if Testver had to use another port)
- The first time, Testver shows a one-time Setup screen with two steps: choose your testing mode (Web or Mobile), then create your super admin account — username, display name, email, and a password (at least 6 characters; use a strong one) typed twice. All are required. This account is yours; keep the password safe.
- After setup, you land on the dashboard. Testver auto-detects your framework and lists your tests. You are ready to run tests.
See First-time setup for a walk-through of both wizard steps and what to do next.
Server Setup for a Team (Self-Hosted)
Section titled “Server Setup for a Team (Self-Hosted)”This section hosts the Testver dashboard on one always-on machine (a server) so your whole team can open it in their browsers. It is the same npm package — we just run it under its own account, keep it running, and put it behind a secure address.
You will: (1) prepare a Linux server, (2) install Node.js and your test toolchain, (3) install Testver and create the account that runs it, (4) put your test project on the server, (5) set Testver’s public address, (6) keep it running with a service manager, (7) put it behind HTTPS, (8) create the super admin account, and (9) lock down access.
The examples use the account name testver, the project folder /srv/your-test-project and the address testver.yourcompany.com — use your own, but keep them the same in every step.
Step 1 — Choose and prepare a server
Section titled “Step 1 — Choose and prepare a server”- A Linux server — Ubuntu 24.04 LTS is a good default (22.04 works too) — a cloud VM (AWS/Azure/GCP/DigitalOcean) or an on-premise machine.
- At least 2 CPU cores and 4 GB RAM (8 GB+ if many tests run at once).
- SSH access to the server, and a user with sudo (admin) rights.
- Optional but recommended: a domain name (e.g. testver.yourcompany.com) pointed at the server’s IP address, for HTTPS.
Step 2 — Install Node.js and your test toolchain on the server
Section titled “Step 2 — Install Node.js and your test toolchain on the server”# Update the system, and make sure curl is there (minimal images don't have it)sudo apt-get update && sudo apt-get upgrade -ysudo apt-get install -y ca-certificates curl
# Install Node.js 24 LTS + gitcurl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -sudo apt-get install -y nodejs git
# Verifynode --versionnpm --versionnode --version must print v24. If it prints v18 (or npm is not found), the NodeSource line didn’t run and Ubuntu’s own, older Node.js was installed — run sudo apt-get remove -y nodejs, then the two Node.js lines again.
Then install whatever your tests need on the SAME server (only the ones you use):
| Your tests use | Install with (Ubuntu) |
|---|---|
| Python (pytest, Robot Framework) | sudo apt-get install -y python3 python3-pip python3-venv |
| Java (JUnit, TestNG, Cucumber-JVM) | sudo apt-get install -y openjdk-17-jdk maven — Gradle projects use their own ./gradlew (Ubuntu’s gradle package is far too old) |
| .NET (NUnit, xUnit, MSTest) | sudo apt-get install -y dotnet-sdk-8.0 |
| Ruby (RSpec) | sudo apt-get install -y ruby-full |
| JavaScript / TypeScript | Nothing more — Node.js is already installed. |
| Cypress | sudo apt-get install -y libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb (on Ubuntu 22.04, drop the t64 endings) |
Step 3 — Install Testver and create the account that runs it
Section titled “Step 3 — Install Testver and create the account that runs it”sudo npm install -g @testver/testvertestver --versioncommand -v testver # where it was installed — usually /usr/bin/testverA recent npm may print npm warn install-scripts … Run npm install -g --allow-scripts=…. You can ignore it — Testver’s database module ships ready-built and works without those scripts.
Testver runs commands on the server, so give it its own account instead of root. The account needs a home folder: Testver keeps its two-factor key there (~/.testver), and the browsers and git credentials of that account live there too.
sudo useradd --system --create-home --shell /bin/bash testverStep 4 — Put your test project on the server
Section titled “Step 4 — Put your test project on the server”First, access to the repository. A public repository needs nothing. For a private one, set this up before cloning — it is also what lets the Git page pull and push later:
-
SSH (recommended for a server): create a key for the
testveraccount, add the public key to the repository as a deploy key (with write access if you will push from Testver), and clone with thegit@…address. The first clone asks you to confirm the host’s fingerprint — answeryes.sudo -u testver -H ssh-keygen -t ed25519 -N "" -f /home/testver/.ssh/id_ed25519sudo cat /home/testver/.ssh/id_ed25519.pub -
HTTPS: git asks for a username and an access token (not your password) during the clone; afterwards the Git page shows a Git credentials prompt when it needs them.
Now create the project folder, give it to the testver account, and clone into it as that account — then Testver can write its .testver folder and the Git page can pull and commit:
sudo mkdir -p /srv/your-test-projectsudo chown testver:testver /srv/your-test-projectsudo -u testver -H git clone https://github.com/your-org/your-test-project.git /srv/your-test-projectcd /srv/your-test-projectInstall the project’s own dependencies, again as testver:
# JavaScript / TypeScriptsudo -u testver -H npm ci # or: npm install
# Python — in a virtual environment (Ubuntu 24.04 refuses system-wide pip installs)sudo -u testver -H python3 -m venv .venvsudo -u testver -H .venv/bin/pip install -r requirements.txtBrowsers. Browsers are installed per account, so install them as testver too:
# The system libraries browsers need (once)sudo npx --yes playwright install-deps chromium
# Your Playwright tests' browsers — run inside the project so the versions matchsudo -u testver -H npx playwright install chromiumTestver’s own live tools (the AI Assistant’s browser, AI Record, live preview) use Google Chrome when it is installed — for every account, whatever Playwright version the project has. On a server, install it once:
cd /tmpcurl -fsSLO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debsudo apt-get install -y ./google-chrome-stable_current_amd64.debGoogle Chrome for Linux exists only for x86-64. On an ARM server (for example AWS Graviton or Oracle Ampere) skip it; if Testver’s live tools later say they can’t start a browser, run the command shown in that message as the testver account (sudo -u testver -H …).
Step 5 — Tell Testver its public address
Section titled “Step 5 — Tell Testver its public address”Links in the emails and notifications Testver sends (run results, schedules, new commits on the remote, reports, password resets) need the address your team uses — and so do the addresses Testver shows for you to copy: the testver connect command on the Local Browser Connector card, and the report links a CI job prints when it triggers a run. Behind a reverse proxy Testver can’t always see that address, so set it in a .env file in the project folder:
sudo -u testver -H nano /srv/your-test-project/.envTESTVER_PUBLIC_URL=https://testver.yourcompany.comKeep .env out of git — add it to the project’s .gitignore if it isn’t there.
Step 6 — Keep Testver running as a background service
Section titled “Step 6 — Keep Testver running as a background service”A server should keep Testver running and restart it automatically after a crash or reboot. Two common ways — pick ONE.
Option A — systemd (recommended on Linux)
Section titled “Option A — systemd (recommended on Linux)”Create a service file:
sudo nano /etc/systemd/system/testver.servicePaste the following (use the path command -v testver printed in Step 3):
[Unit]Description=Testver DashboardAfter=network.target
[Service]Type=simpleUser=testverGroup=testverWorkingDirectory=/srv/your-test-projectExecStart=/usr/bin/testver serve --host 127.0.0.1 --port 3700Environment=NODE_ENV=production# Python projects: put the project's virtual environment first on the PATH# Environment=PATH=/srv/your-test-project/.venv/bin:/usr/local/bin:/usr/bin:/binRestart=alwaysRestartSec=5
[Install]WantedBy=multi-user.targetEnable and start it:
sudo systemctl daemon-reloadsudo systemctl enable --now testver
# Check status and logssudo systemctl status testverjournalctl -u testver -fOption B — pm2 (Node process manager)
Section titled “Option B — pm2 (Node process manager)”testver deploy pm2 writes a ready-made PM2 configuration (testver.pm2.config.js) into the project folder — no hand-written PM2 command lines, which PM2 easily misreads. --name testver names the PM2 app testver (without it, the app is named after the project folder). Run everything as testver:
sudo npm install -g pm2cd /srv/your-test-projectsudo -u testver -H testver deploy pm2 --host 127.0.0.1 --port 3700 --name testversudo -u testver -H pm2 start testver.pm2.config.jssudo -u testver -H pm2 save
# Start it again after a reboot (installs a boot service for the testver account)sudo env PATH=$PATH pm2 startup systemd -u testver --hp /home/testvertestver deploy pm2 adds testver.pm2.config.js to the project folder — add it to the project’s .gitignore so it doesn’t show up as a change on the Git page.
For a Python project, start it with the virtual environment active instead: sudo -u testver -H bash -c 'source .venv/bin/activate && pm2 start testver.pm2.config.js', then pm2 save as above.
Step 7 — Add HTTPS with a reverse proxy (Nginx)
Section titled “Step 7 — Add HTTPS with a reverse proxy (Nginx)”A reverse proxy gives your team a clean, secure https:// address and handles encryption. Testver uses WebSockets for live updates, so the proxy must forward the Upgrade headers. On a cloud VM, also open ports 80 and 443 in the provider’s firewall (security group).
sudo apt-get install -y nginxsudo nano /etc/nginx/sites-available/testverPaste this (replace testver.yourcompany.com with your domain):
server { listen 80; server_name testver.yourcompany.com;
# Uploads: chat attachments, imports and mobile app files (up to 1 GB) client_max_body_size 1g;
location / { proxy_pass http://127.0.0.1:3700; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_request_buffering off; proxy_read_timeout 86400; proxy_send_timeout 86400; }}What the less obvious lines do:
client_max_body_size— Nginx refuses anything over 1 MB by default, which would break file uploads (413 Request Entity Too Large).X-Forwarded-For/X-Real-IP— the visitor’s real address, for the Audit Log and sign-in records. They also tell Testver a request came through the proxy, so the few endpoints only Testver’s own helpers on the server may call stay closed to the outside.X-Forwarded-Proto— tells Testver the page was opened over https, so the addresses it shows and sends use https.
Enable the site and add a free HTTPS certificate with Let’s Encrypt:
sudo ln -s /etc/nginx/sites-available/testver /etc/nginx/sites-enabled/sudo nginx -t # test the configsudo systemctl restart nginx
# Free HTTPS certificate (auto-renews)sudo apt-get install -y certbot python3-certbot-nginxsudo certbot --nginx -d testver.yourcompany.comYour team can now open https://testver.yourcompany.com.
No domain name, or a private server?
Section titled “No domain name, or a private server?”Let’s Encrypt needs a domain name that points at the server and port 80 reachable from the internet.
- No domain name: use
server_name _;in the config above and disable Nginx’s default site (sudo rm /etc/nginx/sites-enabled/default, thensudo systemctl restart nginx) — otherwise the server’s IP address shows Welcome to nginx! instead of Testver. Skip certbot: without a domain there is no certificate, so keep the server reachable only over your VPN (Step 9). - Domain name, but the server is only on your VPN: Let’s Encrypt can’t reach it on port 80. Get the certificate with a DNS challenge (
sudo certbot certonly --manual --preferred-challenges dns -d testver.yourcompany.com, then add the certificate to the server block), or use your company’s own certificates.
Step 8 — Create the super admin account immediately
Section titled “Step 8 — Create the super admin account immediately”Open the HTTPS address in a browser and complete the one-time Setup screen RIGHT AWAY to create the super admin account. Then add accounts for your teammates from the dashboard.
Step 9 — Restrict who can reach it
Section titled “Step 9 — Restrict who can reach it”Because Testver can run commands on the server, treat access as you would shell access. Choose at least one:
- Keep it on the company network / VPN (e.g. Tailscale, WireGuard) so only employees can reach it.
- Add an IP allow-list in Nginx, or put a single-sign-on (SSO) proxy in front (e.g. Cloudflare Access).
- Open only the needed ports in the server firewall:
sudo ufw allow OpenSSHsudo ufw allow 'Nginx Full'sudo ufw enableSecurity Checklist (Read Before Exposing to a Network)
Section titled “Security Checklist (Read Before Exposing to a Network)”Testver executes your test commands on the host. Anyone who can sign in can effectively run programs on that machine, so protect it accordingly.
- Create the super admin account immediately after first start; use strong, unique passwords.
- Never expose the dashboard directly to the public internet without HTTPS and access control (VPN/SSO/IP allow-list).
- Bind the app to 127.0.0.1 and let the reverse proxy handle public traffic (do not bind 0.0.0.0 directly to the internet).
- Keep credentials only in the server’s environment/.env — never commit them to git. Cloud AI needs no key on the server: it is authorized by connecting your Testver account in the UI.
- Run the service as its own non-root account (the examples use
testver), which owns the project folder. - Have the proxy send the forwarding headers shown in Step 7, and set
TESTVER_PUBLIC_URLto the https address. - Keep Testver updated (Updating) — fixes ship frequently.
Configuration Reference (Environment Variables)
Section titled “Configuration Reference (Environment Variables)”Set these in a .env file in your project folder, or as environment variables in your shell / service file.
Server settings
Section titled “Server settings”| Variable | Default | Purpose |
|---|---|---|
| TESTVER_HOST | 0.0.0.0 | Network address to bind. On a shared server set 127.0.0.1 and put an HTTPS proxy in front. |
| TESTVER_PORT | 3700 | Port the dashboard listens on. |
| TESTVER_PUBLIC_URL | — | The address your team opens Testver at (e.g. https://testver.yourcompany.com). Used for links in emails and notifications, the testver connect command on the Local Browser Connector card, and the report links CI jobs print — set it on any server your team reaches over the network. Without it, emailed links use the address an admin last opened Testver at — remembered across restarts in .testver/public-url.json (password-reset links never take it from the request asking for them) — and the command and CI links use the address the request came in on. |
AI provider
Section titled “AI provider”| Variable | Purpose |
|---|---|
| TESTVER_DEFAULT_PROVIDER | Which provider to use by default: testver, ollama, or lmstudio. |
| TESTVER_DEFAULT_MODEL | Optional. Override the model used for the default provider. |
| TESTVER_TOKEN | Optional. A Testver connect token (it starts with tv_) from your Testver account, for the server’s own connection. |
The usual way to connect cloud AI is your Testver account on Testver → Connections — nothing to put in a file. TESTVER_TOKEN is there for a server you set up without opening the dashboard. Treat it like a password: keep it in the server’s .env or service file, never in git.
Security
Section titled “Security”| Variable | Purpose |
|---|---|
| TESTVER_2FA_KEY | Optional. The key that encrypts two-factor (authenticator) secrets. Leave it unset on a normal install — Testver creates ~/.testver/2fa.key the first time someone turns 2FA on, and Testver Cloud sets it for you. Set it yourself (any value, 16+ characters) only if the home folder isn’t kept between restarts, and never change it afterwards. See Settings → Two-factor authentication. |
Local model overrides
Section titled “Local model overrides”| Variable | Default |
|---|---|
| OLLAMA_BASE_URL | http://localhost:11434/v1 |
| LMSTUDIO_BASE_URL | http://localhost:1234/v1 |
An address an administrator saves on the LLM tab takes priority over these variables.
Updating, Verifying & Uninstalling
Section titled “Updating, Verifying & Uninstalling”Check the running version
Section titled “Check the running version”testver --versionUpdate to the latest version
Section titled “Update to the latest version”npm install -g @testver/testver@latestOn a server — or anywhere you installed with sudo (the server setup’s Step 3 does) — update with sudo too, or npm stops with EACCES: permission denied:
sudo npm install -g @testver/testver@latestBefore updating, read the Release notes — each version lists what changed and anything you need to do after updating.
On a server, restart the service after updating:
sudo systemctl restart testver # systemd# orsudo -u testver -H pm2 restart testver # pm2With pm2, testver is the app name chosen with --name in Step 6. A configuration written without it names the app after the project folder — sudo -u testver -H pm2 list shows the name.
Health check (is it running?)
Section titled “Health check (is it running?)”Testver exposes a health endpoint. From the server (or your machine) run:
curl http://localhost:3700/api/healthA healthy server returns a small JSON response with “status”: “healthy” and the version.
Uninstall
Section titled “Uninstall”npm uninstall -g @testver/testverIf you installed it with sudo (as on a server), uninstall with sudo npm uninstall -g @testver/testver.
Troubleshooting (Common Problems)
Section titled “Troubleshooting (Common Problems)”| Problem | Cause & Fix |
|---|---|
| ”testver: command not found” or “not recognized” | You installed without -g, or the terminal is stale. Run: npm install -g @testver/testver, then open a NEW terminal. As a fallback, run it with: npx @testver/testver serve |
| Windows PowerShell: “testver.ps1 cannot be loaded because running scripts is disabled on this system” | PowerShell’s default policy blocks the launcher scripts npm creates. Use Command Prompt, or run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once and open a new PowerShell window. See Step 3. |
| Node version error / very old features | Node is too old. Run node —version; if it is below 22.14, install the current LTS (24) from nodejs.org. |
testver serve is sometimes quick and sometimes slow to start | Expected: the first start after a reboot, an update or a rebuild reads Testver’s files cold, with antivirus scanning them; later starts are quick. If every start is slow, add the Node.js global node_modules folder to your antivirus exclusions, and check the progress line to see which step it waits on. |
| http://localhost:3700 doesn’t open, or opens a different program | Port 3700 was taken, so Testver started on the next free port — the banner says port 3700 was busy, using 3701. Open the address on the Local: line, stop the other program, or choose a port: testver serve —port 8080 |
| ”EACCES” / permission denied on npm install -g | macOS/Linux global installs need rights. Use sudo, or install a Node version manager (nvm) so global installs do not need admin. |
| ”EMFILE: too many open files” on macOS | A very large project hit the file-watch limit. Update to the latest Testver (it self-protects), or run: ulimit -n 10240 before testver serve. |
| Tests do not run / framework not detected | Make sure the tests run on their own first (e.g. npx playwright test / pytest). The language runtime + project dependencies must be installed on the same machine. |
| AI features greyed out | No AI provider connected. Open Testver → Connections and connect your Testver account (or point Testver at a local Ollama / LM Studio server). See the LLM tab guide. |
| Team cannot reach the server URL | Check the service is running (systemctl status testver), Nginx is reloaded, the firewall allows Nginx, and DNS points to the server. |
| Uploads fail with “413 Request Entity Too Large” | Nginx’s 1 MB default limit. Add client_max_body_size 1g; to the server block (see Step 7) and reload Nginx. |
Links in emails — or the testver connect command and CI report links — show http://localhost:3700, http://127.0.0.1:3700 or http:// instead of https:// | Set TESTVER_PUBLIC_URL=https://your-address in the project’s .env and restart Testver; make sure the proxy sends Host and X-Forwarded-Proto as in Step 7. |
| The service won’t start, or Testver can’t save (“permission denied”) | The project folder must belong to the account that runs Testver: sudo chown -R testver:testver /srv/your-test-project. |
| The Git page says the repository is owned by another account | The project was cloned as root. Give it to the service account (the command above), or clone it again as that account. |
| Live log / dashboard freezes on an 8+ hour run | Update to the latest Testver — long-run output is bounded and the live socket is kept alive in current versions. |
Quick Command Reference
Section titled “Quick Command Reference”| Command | What it does |
|---|---|
| npm install -g @testver/testver | Install Testver globally. |
| testver —version | Show the installed version. |
| testver —help | Show all commands and options. |
| testver serve | Start the web dashboard on http://localhost:3700. |
| testver serve —port 8080 | Start the dashboard on a custom port. |
| testver serve —host 127.0.0.1 | Listen on this machine only — use this behind a reverse proxy. |
| testver serve —host 0.0.0.0 | Listen on all network interfaces (the default) — only on a trusted network or VPN. |
| testver deploy pm2 | Write a PM2 configuration (testver.pm2.config.js) for running Testver 24/7. |
| npx playwright install —with-deps | Install Playwright browsers (optional — only for Firefox/WebKit live sessions or machines without Chrome/Edge). |
| npm install -g @testver/testver@latest | Update to the newest version (with sudo in front on a server). |
| curl http://localhost:3700/api/health | Check that the server is healthy. |
End of guide. For the full list of options at any time, run testver --help.