Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

testergizer-open-core

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testergizer-open-core

Testergizer Open Core: a deterministic test execution engine with JSON-defined suites, CLI runner, and analysis tooling (results, diff, flaky).

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

Testergizer Open Core

Open-core engine for Testergizer: JSON test definitions, runner, assertions, CLI, and basic analysis tools.

Install

npm install
npx playwright install

Build

npm run build
npm link

JSON schemas (v1)

  • schemas/test-suite.v1.json — test plan (suite)
  • schemas/results.v1.json — execution output (results)

Versioning

Suites may include a version field. If omitted, the runner assumes "1.0".

Step IDs (traceability)

Add a stable id per step in your suite JSON:

{
  "id": "login-button-value",
  "action": "assert",
  "assert": "valueContains",
  "selector": "#login-button",
  "value": "Login"
}

If id is omitted, the runner emits fallback IDs: step-1, step-2, ...

Run

testergizer run tests/login.saucedemo.json --headed
testergizer run tests/login.saucedemo.json --headed --slow-mo 200
testergizer run tests/login.saucedemo.json --browser firefox
testergizer run tests/login.saucedemo.json --screenshot-on-fail

Step retries (keyed by step ID)

Retry all steps up to 2 times:

testergizer run tests/login.saucedemo.json --step-retries 2

Retry only selected steps:

testergizer run tests/login.saucedemo.json --step-retries 2 --retry-steps login-button-value,username-placeholder

Optional delay between attempts:

testergizer run tests/login.saucedemo.json --step-retries 2 --retry-delay-ms 200

When a step passes after retries, the results report marks it as:

  • "attempts": >1
  • "flaky": true

Artifacts and results

Each execution produces a deterministic, append-only results artifact.

Results are organized per suite and timestamped to support historical inspection, diffing, and flaky test analysis.

artifacts/<suiteId>/results_<YYYYMMDD-HHMMSS>.json

Key properties:

  • Results are never overwritten
  • Each suite has its own results directory
  • Filenames are derived from the run start time
  • Artifacts are safe for CI, automation, and long-term analysis

Diff two runs (by test/step IDs)

testergizer diff artifacts/<suiteId>/results_*.json --out artifacts/diff.json

Flaky detection across many runs

testergizer flaky artifacts/<suiteId>/ --out artifacts/flaky.json

A test/step is considered flaky if it has at least one pass and one fail across the provided runs.

Validation

Testergizer includes built-in schema validation for both test suites and results artifacts.

testergizer validate tests/login.saucedemo.json
testergizer validate artifacts/<suiteId>/results_*.json

Validation is intended to enforce contracts in CI pipelines and to guarantee that generated artifacts remain compatible with analysis tools.

Scope and boundaries

Testergizer Open Core intentionally focuses on execution, validation, and analysis.

Included in Open Core:

  • JSON-native test execution
  • Strict suite and results schemas
  • Deterministic run artifacts
  • Step-level retries with failure classification
  • CLI tooling for run, validate, diff, and flaky analysis
  • CI-first behavior and exit codes

Out of scope for Open Core:

  • UI dashboards
  • Test recorder
  • Visual assertions
  • AI-based healing or selector repair
  • Cloud or remote execution
  • Team management and governance features

For a clear explanation of the Open Core vs commercial boundary, see:
Open Core vs Pro — Scope and Boundaries

Maintenance policy for the v0.1.x line is documented here:
Open Core Maintenance Policy

Testergizer Open Core is licensed under the Apache License, Version 2.0.

  • See LICENSE for the full license text
  • See NOTICE for copyright and attribution information

Keywords

qa

FAQs

Package last updated on 15 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts