@webship.co/workspace-demos 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,3 +106,17 @@ bash cmd-tools-screen.sh --list # the sessions that a
106
106
  ## What comes with you
107
107
 
108
108
  The Demos plugin places these beside this one, each in the workspace folder of its kind: the skill `demos-workflow` (`ai-skills/`), the command `/demos-build` (`ai-commands/`) and the prompt `demos-build-a-demo` (`ai-prompts/`).
109
+
110
+ ## The book
111
+
112
+ For any automated functional testing in this work (a Gherkin feature, a step definition, choosing a
113
+ step, a test run and its failures), read the book *Automated Functional Testing Recipes* first.
114
+
115
+ - **Where.** Use the first that exists: `.claude/automated-functional-testing-recipes/` in the project,
116
+ `~/.claude/automated-functional-testing-recipes/` (installed by webship/webship-js-ai-agent,
117
+ webship/webship-js-skills or webship/ai-agents), or
118
+ https://github.com/webship/webship-js-ai-agent/tree/2.0.x/automated-functional-testing-recipes
119
+ - **How.** Its `README.md` first, then the chapter that matches the task (one file per chapter,
120
+ named by its subject), not the single complete file.
121
+ - **Which wins.** The installed webship-js package and the step pack are the source of truth for
122
+ step phrasing. When they differ from the book, follow them and say so.
@@ -9,6 +9,7 @@ Build a demo named <name> in the demos folder with <builder> and get it ready to
9
9
  # <builder> is a cmd-*-project.sh of the folder, for example cmd-webship11-0-x-project.sh
10
10
  # the builder deletes a project of the same name first: stop if <name> is a site somebody still needs
11
11
  # nothing on the host: no composer, drush, npm or mysql outside the site's container
12
+ # a feature to write or a run to read: the book Automated Functional Testing Recipes first (its README.md, then the matching chapter), from .claude/automated-functional-testing-recipes/ in the project, ~/.claude/automated-functional-testing-recipes/ or https://github.com/webship/webship-js-ai-agent/tree/2.0.x/automated-functional-testing-recipes
12
13
 
13
14
  1. bash <builder> --help
14
15
  tell me the flags it takes
@@ -85,3 +85,17 @@ the default accounts of the distribution. A builder deletes a project of the sam
85
85
  - A demo is kept while it is shown: back it up with `bash cmd-tools-backup-demo.sh mysite` before a change, and remove it only when asked.
86
86
 
87
87
  The Demos plugin places these beside this one, each in the workspace folder of its kind: the agent `demos-site-builder` (`ai-agents/`), the command `/demos-build` (`ai-commands/`) and the prompt `demos-build-a-demo` (`ai-prompts/`).
88
+
89
+ ## The book
90
+
91
+ For any automated functional testing in this work (a Gherkin feature, a step definition, choosing a
92
+ step, a test run and its failures), read the book *Automated Functional Testing Recipes* first.
93
+
94
+ - **Where.** Use the first that exists: `.claude/automated-functional-testing-recipes/` in the project,
95
+ `~/.claude/automated-functional-testing-recipes/` (installed by webship/webship-js-ai-agent,
96
+ webship/webship-js-skills or webship/ai-agents), or
97
+ https://github.com/webship/webship-js-ai-agent/tree/2.0.x/automated-functional-testing-recipes
98
+ - **How.** Its `README.md` first, then the chapter that matches the task (one file per chapter,
99
+ named by its subject), not the single complete file.
100
+ - **Which wins.** The installed webship-js package and the step pack are the source of truth for
101
+ step phrasing. When they differ from the book, follow them and say so.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webship.co/workspace-demos",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "The Demos workspace for Webship Workspace: the `demos/` folder (type sites), its settings file, its 27 commands, its docs and its AI items (an agent, a skill, a command and a prompt, each in the folder of its kind), activated as a plugin.",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",