Repository navigation
qtest 1.0.0: qTest publishing leaves the app for the marketplace - #51
Merged
Merged
Conversation
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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/qtestpackage — 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-insrc/plugins/builtin/qtestwith its imports switched to@specdriven/host/@specdriven/client. The[qTest:…](url)links stay in the app.Safe to merge now:
minAppVersionis 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.qtest-tokens.json, orqtest-tokens.encon the desktop).test/app.tsthe way the loader mounts an installed plugin. The app-generic dialog-stack test stays in the app.release/qtest-1.0.0.zip, built against v0.1.306;check-index,check-distandcheck-releasepass locally.Local:
tscclean andbun test77 pass against v0.1.306.