Changelog
What changed in Propmaster, newest first. Nothing has been published to npm yet, so everything here is in the first release, 1.0.0. Each entry links to its pull request; Breaking marks a change that needs something done in an existing project.
2026-11-27: custom cleanups that use request
Fixed
testData.cleanup()callbacks can use Playwright'srequest. In a test that also used a client fixture set up beforerequest, such asdatabaseClient, the stack ran afterrequestwas closed. Undoing an API call then failed with "Target page, context or browser has been closed".testDatanow runs the stack in its own teardown, andrequeststays open until then. Custom cleanups
2026-11-24: ClickHouse
Added
clickHouseClientfor ClickHouse, over its HTTP interface with@clickhouse/client. ClickHouse- Typed
{name:Type}parameters; rows as plain objects, withcount(),UInt64and the wider integers as numbers (abigintbeyond 2^53, never rounded). insert()deletes its rows after the test,waitForRows()polls for what an asynchronous pipeline writes, andcreateDatabase()gives a test a database of its own.clickhouse_query, a read-only MCP tool that ClickHouse itself holds to reads (readonly=2).- ClickHouse in
compose.test.yaml, CI (Node.js and Bun), Testcontainers (PW_CLICKHOUSE_CONTAINER=true),propmaster fixture add clickhouse,doctorand the coverage report. CategoryCH, projectintegration-clickhouse,ClickHouseSteps.
- Typed
2026-11-24: what the tests cover, per layer
Added
propmaster coverageand thecoverage_reportMCP tool: what the tests cover per layer of the pyramid (unit, integration, e2e), read from the test sources, the test history, the OpenAPI spec and the code-coverage reports already in the project. Nothing runs. Coverage- Each layer has its tests, the ones marked
skip/fixme, its last run and pass rate, the fixtures it uses, and what its tests touch: API operations, HTTP paths, GraphQL operations, gRPC methods, tables, collections, topics, queues, indexes, routes and deep links. - With a spec, it lists the operations no test calls, the tested ones that assert no error status the spec documents, and the other documented codes nobody asserts.
- Gaps also cover configured backends no test uses, tests that never ran or failed last, quarantined tests, and code coverage under 60% or older than 30 days.
- The application can be in any language. Its own tests count, in Python, Go, Java, Kotlin, Scala, Groovy, C#, Ruby, PHP, Rust, Swift and Elixir. Each gets a layer from its folder, the language's convention (
*IT, Rust'stests/, Go build tags), the harness it uses (Testcontainers,WebApplicationFactory,@SpringBootTest, Selenium, XCUITest, ...), a backend in its folder or name (Postgres/) or its markers (@pytest.mark.integration,@Tag,[Trait]). Their HTTP calls are matched to the spec's operations by method and path template, and their asserted statuses are read as numbers or names (isNotFound(),HttpStatusCode.NotFound). - It reads code-coverage reports from any language's tools: LCOV, Istanbul
coverage-summary.json, Cobertura, JaCoCo, Clover, OpenCover, Go cover profiles, coverage.py JSON and SimpleCov. They can be anywhere in the project, or wherever--reportpoints, and it shows the least-covered files. - For agents, the report says what to compare next: tables in the database, Kafka topics, and the application's routes.
- Each layer has its tests, the ones marked
2026-11-24: agents run the tests, and every editor gets the MCP server
Added
- Bun support, as the package manager and as the runtime (
bunx --bun playwright test, Bun 1.4.3 or later with Playwright 1.65 or later). CI runs every suite on Bun 1.4.5. #78 · Using Bun- In a Bun project (
bun.lock, orbunx propmaster init), every command Propmaster prints or writes uses Bun:bun add -dfor drivers,bun runfor scripts,bunxfor tools and for the MCP server in editor configs. - The reporter and
propmaster doctorwarn when the tests run on a Bun or Playwright too old for each other.doctoralso finds a native driver installed without its binding (--fixrunsbun pm trust, ornpm rebuild). - Every backend passes on Bun except Kafka with Confluent's client, whose native binding exists only for Node.js: on Bun, use kafkajs (the default), or run the Kafka tests on Node.js. The fixture and
doctorsay so. - Errors from a failed request read the same on Node.js and Bun (
fetch failed: ECONNREFUSED (...)), and on Node.js they now include the cause instead of just "fetch failed".
- In a Bun project (
propmaster mcp setupconnects the MCP server to your editors by writing the config file each one reads. #76 · Setup- Editors: Claude Code (
.mcp.json), VS Code (.vscode/mcp.json), Cursor (.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json) and Zed (.zed/settings.json). - A menu opens with the editors the project already uses selected.
--client claude,vscodenames them instead. - The entry goes next to the servers already in the file, and the rest of the file stays as it was, comments included. Running it again changes nothing, and
--removegives the file back. --checkstarts each configured server the way the editor would, talks to it over MCP and lists its tools.
- Editors: Claude Code (
- MCP tools to run tests and read why they failed. #75 · Test tools
run_testsruns tests by TestCaseID, file, project or title. For each failure it returns the step that failed, the error, the code where it was thrown, and the trace. It isn't offered for a production environment, and its runs stay out of the test history unless asked.last_failuresreturns the last run's failures, whoever ran it, with each test's recent results.flaky_testsreturns the flake ranking.generate_api_testspreviews API tests from the OpenAPI spec, and writes them withapply: true.
propmaster failuresprints the last run's failures in the terminal. The reporter now writes them to.propmaster/last-run.jsonafter every run. #75 · What failed in the last run
Changed
propmaster initsets up the MCP server for Claude Code and for the editors the project already uses. An existing.mcp.jsonnow gets the entry added instead of being skipped. #76propmaster doctorchecks the MCP server in its own process over stdio, as an editor starts it. It finds the server in all five editors' configs, and--fixsets them up. #76
2026-11-23: setup and project tooling
Added
- Interactive CLI.
npx propmasterwith no command opens a menu of commands, and every option with a fixed set of values is a menu. With no terminal, a command never waits: it exits with code 2 and names the flag to pass. Commands start with the logo and version, and--versionprints the version. #70 · The CLI propmaster fixture add | remove | listsets a fixture up in one step, or takes it out again. #71 · Adding and removing fixtures- It installs the driver, and adds the config to every environment, the
PW_*variables to.env.example, acompose.test.yamlservice and a starter test. removekeeps anything you changed, and anything another fixture still uses.- MCP tools:
fixtures_list,fixture_addandfixture_remove.
- It installs the driver, and adds the config to every environment, the
propmaster env add | listadds an environment copied from another. #72 · Adding an environment- Values become
CHANGE_MEand credentials are left out. You get a.env.<name>to fill in, kept out of git. --prodmarks an environment"production": true. The MCP server refuses such an environment unless started with--allow-prod, and never gives it write tools.- MCP tools:
environments_listandenvironment_add.
- Values become
propmaster doctorfinds setup problems and says how to fix each one. #73 · Doctor- It checks the config, drivers, backends, browsers, the CI image,
.envfiles kept out of git, the MCP server and the test conventions. --fixapplies the safe fixes. The MCP tool isdoctor.
- It checks the config, drivers, backends, browsers, the CI image,
- QA standards for your team's own testing rules. #74 · QA standards
- Pages in
standards/tell agents how the team writes tests. - Rules in
propmaster.standards.jsonare enforced bypropmaster check, aterrororwarnlevel. propmaster standards initwrites a sample set. The MCP server serves the pages through itsstandardstool.
- Pages in
2026-11-22: more backends, and flaky tests
Added
grpcClientfor gRPC services, from.protofiles or server reflection: unary calls and all three kinds of stream. #54 · gRPCrealtimeClientfor WebSocket and Server-Sent Events. #57 · WebSocket & SSEsearchClientfor Elasticsearch and OpenSearch, with a per-test index prefix. #53 · SearchdynamoDbClientfor DynamoDB, with plain objects and writes undone after each test. #58 · DynamoDBcassandraClientfor Cassandra and ScyllaDB. #59 · Cassandra- Flaky test history and quarantine. #60 · Flaky tests
- The Propmaster reporter keeps each test's outcome across runs, and
propmaster flakyranks tests by flake rate. - Tests listed in
quarantine.jsonkeep running but don't fail the build.
- The Propmaster reporter keeps each test's outcome across runs, and
- Confluent's Kafka client as an opt-in driver for
kafkaClient(PW_KAFKA_DRIVER=confluent). kafkajs stays the default. #61
Fixed
- Neo4j's container health check no longer starts a JVM for every check. #55
- RabbitMQ's container health check can no longer crash the broker. #56
2026-11-21: the MCP server, and API test generation
Added
propmaster mcp, an MCP server that lets coding agents see the project's backends: database, MongoDB, Redis, Kafka, Neo4j, the OpenAPI spec and TestCaseIDs. #49 · MCP server- It is read-only unless started with
--allow-writes, refuses production environments, and never returns credentials.
- It is read-only unless started with
propmaster generate openapiwrites API tests from the OpenAPI spec, one file per tag, with real TestCaseIDs. It never overwrites a file. #50 · Generating API testsamqpClientfor RabbitMQ and AMQP 0-9-1. #51 · RabbitMQs3ClientandsqsClientfor AWS S3, SQS and SNS. Moto is the emulator in compose, CI and containers. #52 · AWS
Fixed
- Starting a container no longer counts against the first test's timeout. #48
2026-11-20: Propmaster, optional drivers and test helpers
Added
- Testcontainers. A backend starts in a container for the test run with
PW_<BACKEND>_CONTAINER=true. #38 · Testcontainers inboxClientreads the email your app sends, through Mailpit. #41 · Inbox- Auth helpers: OAuth/OIDC tokens per role, and saved browser logins so tests start logged in. #42 · Auth
mockServerstubs the third-party APIs your backend calls, with WireMock. #45 · Mock server- Test data factories with automatic cleanup across backends (
testData). #46 · Test data - Contract checks that validate OpenAPI requests and responses against the spec. #47 · OpenAPI
- Documentation site on GitHub Pages, with CI examples for GitLab, Jenkins, Azure Pipelines, CircleCI and Bitbucket. #10, #11 · CI/CD
propmaster organizesorts existing tests into the folder for their type. #12 · Project layout
Changed
- Breaking: renamed to Propmaster. The package is now
@inluxc/propmaster(it was@inluxc/stagehand), the command ispropmaster, and the site is propmaster.dev. Change the package name inpackage.jsonand your imports. #39 - Breaking: backend drivers are optional peer dependencies, loaded on first use. Propmaster itself has no runtime dependencies. #34 · Getting started
- Install the driver for each fixture you use, for example
npm install --save-dev pgfor PostgreSQL.propmaster fixture adddoes it for you. - A fixture whose driver is missing throws
MissingPackageError, with the command to install it.
- Install the driver for each fixture you use, for example
- Breaking:
inituses one folder per test type:tests/api,tests/integration,tests/e2eandtests/mobile. New projects no longer gettests/specs/or the.browser.tsand.mobile.tssuffixes. Existing projects aren't affected unless they runpropmaster organize --apply. #12 - The Integration Tests workflow is faster, and its jobs have timeouts, so a hung job fails fast. #8, #43, #44
Fixed
- The OpenAPI fixture loads a local spec file from disk instead of over HTTP. #35
2026-11-19: Appium, Neo4j and test conventions
Added
appiumDriver, an Appium session through WebdriverIO, for local Appium, grids, cloud farms and GADS device farms. #6 · Appium & GADSneo4jClientfor Neo4j. #3 · Neo4j- OpenBao as a secrets provider. #7 · Secrets
propmaster checkandpropmaster next-idenforce the test conventions: a unique[TC-XXX-NNN]ID in each title and tag,test.step()in every test, and the framework's own imports. #4, #5 · Writing tests
Changed
- Breaking: Mobilewright is removed. #6
mobilewrightDevice,mobilewrightScreen,MobilewrightSteps, themobilewrightconfig key and thePW_MOBILE_*variables are gone.- Use
appiumDriverwith theappiumconfig (PW_APPIUM_*) instead. - The
MOBTestCaseID category is retired, so its IDs are never reused. Mobile tests useAPM.
- Every package is upgraded, with the security advisories fixed. #1
Fixed
- The built ESM output loads in plain Node.js. #2