Skip to content

qtest 1.0.0: qTest publishing leaves the app for the marketplace - #51

Merged
vydra merged 1 commit into
mainfrom
claude/qtest-plugin
Nov 29, 2026
Merged

vydra merged 1 commit into
mainfrom
claude/qtest-plugin

Conversation

@vydra

@vydra vydra commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Step 2 of moving qTest out of the app (step 1 was SpecDriven/specdriven-app#533, released as v0.1.306).

What: a new plugins/qtest package — publishing a feature's scenarios as qTest test cases, the qTest token in Settings, the "Publish qTest Test Cases…" and "Publish to Wiki & qTest…" dialogs. The source is the app's built-in src/plugins/builtin/qtest with its imports switched to @specdriven/host / @specdriven/client. The [qTest:…](url) links stay in the app.

Safe to merge now: minAppVersion is 0.1.306, and every app up to the next app PR has qTest built in, which shadows a folder plugin with the same id. Nothing changes for users until the app drops its built-in and auto-installs this one.

  • Tokens keep today's files (qtest-tokens.json, or qtest-tokens.enc on the desktop).
  • Tests: the built-in's seven qTest test files, mounted through test/app.ts the way the loader mounts an installed plugin. The app-generic dialog-stack test stays in the app.
  • Release: release/qtest-1.0.0.zip, built against v0.1.306; check-index, check-dist and check-release pass locally.

Local: tsc clean and bun test 77 pass against v0.1.306.

Publishing a feature's scenarios as qTest test cases, the qTest token
(Settings → qTest token), both publish dialogs and their ⋯ menu items, as
the app built them in as the `qtest` plugin in 0.1.306. The source is the
built-in's with its imports on @specdriven/host and @specdriven/client;
the links (`[qTest:…](url)` on features and scenarios) stay in the app.

- minAppVersion 0.1.306: until the app drops its built-in, a copy of this
  plugin is refused there as shadowed, so nothing changes for anyone
- tokens keep their files (qtest-tokens.json / qtest-tokens.enc)
- tests: the built-in's seven qTest test files, mounted with test/app.ts;
  77 pass against v0.1.306
@vydra
vydra merged commit dc1fbef into main Nov 29, 2026
26 checks passed
@vydra
vydra deleted the claude/qtest-plugin branch November 29, 2026 19:24
vydra added a commit to SpecDriven/specdriven-app that referenced this pull request Nov 29, 2026
…stalls the marketplace plugin (#534)

Step 3 of moving qTest out (step 1 #533, released in v0.1.306; step 2
SpecDriven/plugins#51, qtest 1.0.0). Publishing, the token and the two
dialogs are now the `qtest` plugin of the SpecDriven marketplace; the links
— `[qTest:…](url)`, the chip, the field — stay in the core.

- src/plugins/builtin/qtest is deleted; `qtest` is a retired manifest with
  `legacyKey: "qtestLinks"` and the new `autoInstall` flag
- ensureRetiredPlugins (src/plugins/host/autoInstall.ts): at start, a
  flagged retired id on in any profile (or by its old switch) and not
  installed is installed from the first marketplace listing it, once,
  remembered only on success; turning Settings → qTest on installs it too
- the loader records `seen` for a plugin it finds already listed, so
  removing an auto-installed plugin no longer adopts it again
- the demo preinstalls qtest beside the Event Models
- tests: the qTest tests moved to the package; the generic feature-action
  and dialog-stack tests use a fixture plugin (featureActions.test.tsx);
  retiredAutoInstall.test.ts covers the install at start, the switch, and
  removal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant