@keber/qa-framework 1.0.4 → 1.1.0
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.
- package/package.json +1 -1
- package/scripts/init.js +28 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keber/qa-framework",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Reusable spec-driven QA framework for IDE-agent-assisted automated testing. Installable as an npm package. Provides structure, templates, agent instructions, and optional integrations for Playwright and Azure DevOps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"qa",
|
package/scripts/init.js
CHANGED
|
@@ -211,6 +211,34 @@ if (fs.existsSync(structureGuideSrc)) {
|
|
|
211
211
|
// --- .github/copilot-instructions.md ---
|
|
212
212
|
const githubDir = path.join(cwd, '.github');
|
|
213
213
|
const copilotInstrPath = path.join(githubDir, 'copilot-instructions.md');
|
|
214
|
+
|
|
215
|
+
// Detect whether the ado-qa skill is available (installed or already copied)
|
|
216
|
+
const adoQaInstalled = fs.existsSync(path.join(cwd, 'node_modules', '@keber', 'ado-qa'))
|
|
217
|
+
|| fs.existsSync(path.join(cwd, 'node_modules', 'ado-qa'));
|
|
218
|
+
const adoSkillReady = fs.existsSync(path.join(cwd, '.github', 'skills', 'ado-qa'));
|
|
219
|
+
const adoAvailable = adoQaInstalled || adoSkillReady;
|
|
220
|
+
|
|
221
|
+
const adoSection = adoAvailable
|
|
222
|
+
? `
|
|
223
|
+
## Azure DevOps integration (ado-qa)
|
|
224
|
+
|
|
225
|
+
The \`ado-qa\` skill is installed. Load it in PowerShell before any ADO operation:
|
|
226
|
+
\`\`\`powershell
|
|
227
|
+
. .github/skills/ado-qa/load.ps1
|
|
228
|
+
\`\`\`
|
|
229
|
+
Refer to \`qa/00-guides/AGENT-INSTRUCTIONS-ADO-INTEGRATION.md\` for the full ADO workflow.
|
|
230
|
+
`
|
|
231
|
+
: `
|
|
232
|
+
## Azure DevOps integration (not installed)
|
|
233
|
+
|
|
234
|
+
> ⚠️ **Agent note:** \`ado-qa\` is not installed in this project.
|
|
235
|
+
> To enable Azure DevOps integration (query Work Items, Test Plans, create bugs, etc.) run:
|
|
236
|
+
> \`\`\`bash
|
|
237
|
+
> npm install github:keber/ado-qa
|
|
238
|
+
> \`\`\`
|
|
239
|
+
> This will automatically copy the ADO skills to \`.github/skills/\` via postinstall.
|
|
240
|
+
`;
|
|
241
|
+
|
|
214
242
|
const copilotInstrContent = `# QA Framework Instructions
|
|
215
243
|
|
|
216
244
|
This project uses \`@keber/qa-framework\` v${config.frameworkVersion ?? '1.0.0'} for spec-driven automated testing.
|