@capagents/forgeqe 3.1.0 → 3.1.2
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/HOW_TO_USE.md +465 -95
- package/README.md +21 -6
- package/THIRD_PARTY_NOTICES.md +210 -1
- package/dist/docs-site/CREDITS.md +6 -0
- package/dist/docs-site/architecture-map/index.html +1 -1
- package/dist/docs-site/docs/app-theme.css +100 -8
- package/dist/docs-site/docs/architecture/index.html +210 -214
- package/dist/docs-site/docs/area-api/index.html +350 -0
- package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
- package/dist/docs-site/docs/area-browser/index.html +430 -0
- package/dist/docs-site/docs/area-data/index.html +605 -0
- package/dist/docs-site/docs/area-desktop/index.html +755 -0
- package/dist/docs-site/docs/area-mobile/index.html +631 -0
- package/dist/docs-site/docs/area-operations/index.html +1069 -0
- package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
- package/dist/docs-site/docs/area-quality/index.html +365 -0
- package/dist/docs-site/docs/area-release/index.html +320 -0
- package/dist/docs-site/docs/area-setup/index.html +1192 -0
- package/dist/docs-site/docs/area-systems/index.html +207 -0
- package/dist/docs-site/docs/area-test-cases/index.html +694 -0
- package/dist/docs-site/docs/containers/index.html +97 -104
- package/dist/docs-site/docs/cost-architecture/index.html +108 -112
- package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
- package/dist/docs-site/docs/desktop/index.html +172 -162
- package/dist/docs-site/docs/desktop-ci/index.html +26 -33
- package/dist/docs-site/docs/evidence/index.html +253 -257
- package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
- package/dist/docs-site/docs/get-started/index.html +495 -0
- package/dist/docs-site/docs/graphify/index.html +42 -46
- package/dist/docs-site/docs/guardrails/index.html +17 -21
- package/dist/docs-site/docs/index.html +17 -6708
- package/dist/docs-site/docs/mobile/index.html +155 -162
- package/dist/docs-site/docs/model-routing/index.html +44 -51
- package/dist/docs-site/docs/overview/index.html +176 -0
- package/dist/docs-site/docs/product-graph/index.html +52 -55
- package/dist/docs-site/docs/product-knowledge/index.html +11 -15
- package/dist/docs-site/docs/product-views/index.html +53 -57
- package/dist/docs-site/docs/reference/index.html +379 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +480 -0
- package/dist/docs-site/docs/web-app/index.html +147 -93
- package/dist/docs-site/security/index.html +930 -0
- package/dist/docs-site/security/security-theme.css +161 -0
- package/dist/docs-site/security/security.js +1465 -0
- package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
- package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
- package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
- package/dist/forgeqe.js +2251 -1886
- package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
- package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
- package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
- package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
- package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
- package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
- package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
- package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
- package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
- package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
- package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
- package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
- package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
- package/dist/web/assets/Features-CQzNo_WP.js +1 -0
- package/dist/web/assets/Flags-0-RniPJm.js +2 -0
- package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
- package/dist/web/assets/Impact-CfccsL_k.js +3 -0
- package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
- package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
- package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
- package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
- package/dist/web/assets/Product-nYV_scOV.js +7 -0
- package/dist/web/assets/Production-CGSbEWVa.js +1 -0
- package/dist/web/assets/Quality-BIypojZm.js +1 -0
- package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
- package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
- package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
- package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
- package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
- package/dist/web/assets/Response-mhBThq2b.js +9 -0
- package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
- package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
- package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
- package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
- package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
- package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
- package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
- package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
- package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
- package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
- package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
- package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
- package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
- package/dist/web/assets/diff-BStuTmsN.js +2 -0
- package/dist/web/assets/families-BBFFrUlo.js +1 -0
- package/dist/web/assets/filters-CnAMr286.js +1 -0
- package/dist/web/assets/fold-D_O_VZui.js +1 -0
- package/dist/web/assets/head-CRo48rPt.js +1 -0
- package/dist/web/assets/highlight-BcFZIf59.js +4 -0
- package/dist/web/assets/index-B3JsM7tv.js +64 -0
- package/dist/web/assets/index-CafApcbZ.css +2 -0
- package/dist/web/assets/input-CtzK50ZF.js +1 -0
- package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
- package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
- package/dist/web/assets/logos-D4oVWzqa.js +1 -0
- package/dist/web/assets/palette-DAaGSao7.js +1 -0
- package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
- package/dist/web/assets/parts-D357Wolo.js +1 -0
- package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
- package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
- package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
- package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/dist/web/assets/route-BloYJWgw.js +1 -0
- package/dist/web/index.html +12 -12
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/BASAL.md +1 -1
- package/docs/DESKTOP.md +20 -1
- package/docs/EVIDENCE.md +1 -1
- package/docs/MOBILE.md +4 -4
- package/docs/PRODUCT_KNOWLEDGE.md +2 -0
- package/docs/WEB_APP.md +114 -51
- package/docs/user-guide.html +463 -87
- package/forgeqe.example.yaml +3 -3
- package/package.json +1 -1
- package/prompts/page-differs.md +1 -1
- package/prompts/requests-rule.md +1 -1
- package/prompts/responsive-review.md +38 -0
- package/prompts/responsive-split.md +40 -0
- package/prompts/responsive.md +42 -0
- package/prompts/test-reviewer.md +1 -1
- package/prompts/test-rules.md +3 -4
- package/skills/web-guidance/LICENSE +202 -0
- package/skills/web-guidance/SKILL.md +76 -0
- package/skills/web-guidance/UPSTREAM +67 -0
- package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
- package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
- package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
- package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
- package/skills/web-guidance/references/css/responsive-design.md +16 -0
- package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
- package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
- package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
- package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
- package/skills/web-guidance/references/forms/forms.md +415 -0
- package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
- package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
- package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
- package/skills/web-guidance/references/forms/slider.md +184 -0
- package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
- package/skills/web-guidance/references/forms/switch.md +60 -0
- package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
- package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
- package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
- package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
- package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
- package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
- package/skills/web-guidance/references/performance/performance.md +384 -0
- package/skills/web-guidance/references/privacy/privacy.md +247 -0
- package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
- package/skills/web-guidance/references/security/passkey-management.md +310 -0
- package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
- package/skills/web-guidance/references/security/passkey-registration.md +186 -0
- package/skills/web-guidance/references/security/passkeys.md +39 -0
- package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
- package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
- package/skills/web-guidance/references/security/security.md +390 -0
- package/skills/web-guidance/references/security/trusted-types.md +141 -0
- package/skills/web-guidance/references/security/validate-origins.md +197 -0
- package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
- package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
- package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
- package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
- package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
- package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
- package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
- package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
- package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
- package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
- package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
- package/skills/web-guidance/references/ui-components/accordion.md +343 -0
- package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
- package/skills/web-guidance/references/ui-components/carousel.md +206 -0
- package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
- package/skills/web-guidance/references/ui-components/dialog.md +218 -0
- package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
- package/skills/web-guidance/references/ui-components/menu.md +415 -0
- package/skills/web-guidance/references/ui-components/navbar.md +281 -0
- package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
- package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
- package/skills/web-guidance/references/ui-components/progress.md +181 -0
- package/skills/web-guidance/references/ui-components/spinner.md +179 -0
- package/skills/web-guidance/references/ui-components/tabs.md +371 -0
- package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
- package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
- package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
- package/skills/web-guidance/references/visual-design/color.md +43 -0
- package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
- package/dist/web/assets/AgentWork-C3KdZh5M.js +0 -2
- package/dist/web/assets/ApiTests-BLnl7JGO.js +0 -10
- package/dist/web/assets/Browse-C-Enjpmd.js +0 -2
- package/dist/web/assets/Chat-Bt6jZI68.js +0 -3
- package/dist/web/assets/Choices-D5eTFinz.js +0 -3
- package/dist/web/assets/CommandPalette-D89NM2_E.js +0 -1
- package/dist/web/assets/Compare-YfFYHwfK.js +0 -1
- package/dist/web/assets/Cost-ClaDz0YR.js +0 -1
- package/dist/web/assets/Data-jSFgAfej.js +0 -6
- package/dist/web/assets/Desktop-BofKeLVf.js +0 -1
- package/dist/web/assets/DesktopReview--WjeZh3w.js +0 -1
- package/dist/web/assets/Evidence-CJNzSQpY.js +0 -1
- package/dist/web/assets/Explore-BdFvqgF4.js +0 -2
- package/dist/web/assets/Features-CIBbw6PG.js +0 -1
- package/dist/web/assets/Flags-B62v4uWR.js +0 -2
- package/dist/web/assets/Flaky-Cut1kZw6.js +0 -1
- package/dist/web/assets/Impact-jOSl5Q0k.js +0 -3
- package/dist/web/assets/Jobs-DMJGgWtQ.js +0 -5
- package/dist/web/assets/KindPage-BbQWH5wa.js +0 -6
- package/dist/web/assets/Migration-BBgv7xXo.js +0 -2
- package/dist/web/assets/PageAgent-txbNoP6u.js +0 -1
- package/dist/web/assets/Product-BrXH81Ns.js +0 -7
- package/dist/web/assets/Production-CCVtFNGQ.js +0 -1
- package/dist/web/assets/Quality-Dxh-60A8.js +0 -1
- package/dist/web/assets/Readiness-DyJvSOLN.js +0 -1
- package/dist/web/assets/Record-Dnlkimjb.js +0 -1
- package/dist/web/assets/Regression-D2DDTwzs.js +0 -5
- package/dist/web/assets/Reports-ClcY7M0Q.js +0 -2
- package/dist/web/assets/Response-D9FYUvHg.js +0 -9
- package/dist/web/assets/RunDiff-CNImaEdz.js +0 -1
- package/dist/web/assets/Runs-CFvmdULI.js +0 -2
- package/dist/web/assets/Steps-BS66s0E1.js +0 -2
- package/dist/web/assets/TestCases-CrQEUtfD.js +0 -1
- package/dist/web/assets/TestData-e3IX0xwG.js +0 -2
- package/dist/web/assets/TestDebt-tXPoexMF.js +0 -1
- package/dist/web/assets/TestManagement-wjGaoZzI.js +0 -1
- package/dist/web/assets/Tosca-C5YaMLS0.js +0 -3
- package/dist/web/assets/WhatsNew-CwnRbDnd.js +0 -1
- package/dist/web/assets/azuredevops-BcQ5AFOM.js +0 -1
- package/dist/web/assets/crew-CWfjZIxE.js +0 -1
- package/dist/web/assets/families-DWilSDct.js +0 -1
- package/dist/web/assets/filters-CVzIOjPG.js +0 -1
- package/dist/web/assets/fold-tvLGnxD1.js +0 -1
- package/dist/web/assets/frame-Deu1IqzV.js +0 -13
- package/dist/web/assets/index-BWMIKyPB.js +0 -76
- package/dist/web/assets/index-C2Yq55oT.css +0 -2
- package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
- package/dist/web/assets/logos-C1NBtBMc.js +0 -1
- package/dist/web/assets/logos-DFyhMw0i.js +0 -1
- package/dist/web/assets/markdown-DC2HA0yZ.js +0 -10
- package/dist/web/assets/paletteCommands-Qxm5DZIs.js +0 -1
- package/dist/web/assets/parts-BR6dUwqn.js +0 -1
- package/dist/web/assets/productParts-BxdHuSBa.js +0 -1
- package/dist/web/assets/qualityParts-lz6eYVxC.js +0 -1
- package/dist/web/assets/recordTest-CcplpTS6.js +0 -1
- package/dist/web/assets/today-DuQFapJM.js +0 -1
- package/dist/web/assets/when-CHnpLdYw.js +0 -1
|
@@ -0,0 +1,694 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Test cases · ForgeQE docs</title>
|
|
7
|
+
<meta name="description" content="How to use ForgeQE: set it up, configure it, and every feature in detail, with what it needs and how to ask for it.">
|
|
8
|
+
<meta name="theme-color" content="#ffffff">
|
|
9
|
+
<link rel="canonical" href="https://forgeqe.qualityai.co.uk/docs/">
|
|
10
|
+
<link rel="icon" type="image/png" href="../../img/favicon.png">
|
|
11
|
+
<link rel="stylesheet" href="../docs.css">
|
|
12
|
+
<script src="../search.js" defer></script>
|
|
13
|
+
<script src="../docs.js" defer></script>
|
|
14
|
+
<link rel="stylesheet" href="../../app-look.css">
|
|
15
|
+
<link rel="stylesheet" href="../app-theme.css">
|
|
16
|
+
</head>
|
|
17
|
+
<body class="docs">
|
|
18
|
+
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Phosphor Duotone (MIT), from web/src/flatIcons.ts --><symbol id="ph-context-engine" viewBox="0 0 256 256"><g fill="currentColor"><path d="m195.88 195.88l-39.6-39.6a40 40 0 0 0 0-56.56l39.6-39.6a96 96 0 0 1 0 135.76M60.12 60.12a96 96 0 0 0 0 135.76l39.6-39.6a40 40 0 0 1 0-56.56Z" opacity=".2"/><path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m39.1 131.79a47.84 47.84 0 0 0 0-55.58l28.5-28.49a87.83 87.83 0 0 1 0 112.56ZM96 128a32 32 0 1 1 32 32a32 32 0 0 1-32-32m88.28-67.6l-28.49 28.5a47.84 47.84 0 0 0-55.58 0L71.72 60.4a87.83 87.83 0 0 1 112.56 0M60.4 71.72l28.5 28.49a47.84 47.84 0 0 0 0 55.58l-28.5 28.49a87.83 87.83 0 0 1 0-112.56M71.72 195.6l28.49-28.5a47.84 47.84 0 0 0 55.58 0l28.49 28.5a87.83 87.83 0 0 1-112.56 0"/></g></symbol><symbol id="ph-wikis" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M140 180a12 12 0 1 1-12-12a12 12 0 0 1 12 12M128 72c-22.06 0-40 16.15-40 36v4a8 8 0 0 0 16 0v-4c0-11 10.77-20 24-20s24 9 24 20s-10.77 20-24 20a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-.72c18.24-3.35 32-17.9 32-35.28c0-19.85-17.94-36-40-36m104 56A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"/></g></symbol><symbol id="ph-shield" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 56v56c0 96-88 120-88 120s-88-24-88-120V56a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8" opacity=".2"/><path d="M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19c23.06 18.86 46 25.26 47 25.53a8 8 0 0 0 4.2 0c1-.27 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 72c0 37.07-13.66 67.16-40.6 89.42a129.3 129.3 0 0 1-39.4 22.2a128.3 128.3 0 0 1-38.92-21.81C61.82 179.51 48 149.3 48 112V56h160ZM82.34 141.66a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0Z"/></g></symbol><symbol id="ph-architecture" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 80l-96 56l-96-56l96-56Z" opacity=".2"/><path d="M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z"/></g></symbol><symbol id="ph-mail" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 56l-96 88l-96-88Z" opacity=".2"/><path d="M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-20.57 16L128 133.15L52.57 64ZM216 192H40V74.19l82.59 75.71a8 8 0 0 0 10.82 0L216 74.19z"/></g></symbol><symbol id="ph-case" viewBox="0 0 256 256"><g fill="currentColor"><path d="M80 40v176H48a8 8 0 0 1-8-8V48a8 8 0 0 1 8-8Z" opacity=".2"/><path d="M184 112a8 8 0 0 1-8 8h-64a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8m-8 24h-64a8 8 0 0 0 0 16h64a8 8 0 0 0 0-16m48-88v160a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16M48 208h24V48H48Zm160 0V48H88v160z"/></g></symbol></svg>
|
|
19
|
+
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
|
|
20
|
+
<symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
|
|
21
|
+
<line x1="8" x2="16" y1="21" y2="21" />
|
|
22
|
+
<line x1="12" x2="12" y1="17" y2="21" /></symbol>
|
|
23
|
+
<symbol id="i-smartphone" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
|
|
24
|
+
<path d="M12 18h.01" /></symbol>
|
|
25
|
+
<symbol id="i-braces" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" />
|
|
26
|
+
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" /></symbol>
|
|
27
|
+
<symbol id="i-container" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z" />
|
|
28
|
+
<path d="M10 21.9V14L2.1 9.1" />
|
|
29
|
+
<path d="m10 14 11.9-6.9" />
|
|
30
|
+
<path d="M14 19.8v-8.1" />
|
|
31
|
+
<path d="M18 17.5V9.4" /></symbol>
|
|
32
|
+
<symbol id="i-shield-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
|
|
33
|
+
<path d="m9 12 2 2 4-4" /></symbol>
|
|
34
|
+
<symbol id="i-file-text" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
|
|
35
|
+
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
|
|
36
|
+
<path d="M10 9H8" />
|
|
37
|
+
<path d="M16 13H8" />
|
|
38
|
+
<path d="M16 17H8" /></symbol>
|
|
39
|
+
<symbol id="i-terminal" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5" />
|
|
40
|
+
<line x1="12" x2="20" y1="19" y2="19" /></symbol>
|
|
41
|
+
<symbol id="i-brain" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" />
|
|
42
|
+
<path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" />
|
|
43
|
+
<path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
|
|
44
|
+
<path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
|
|
45
|
+
<path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
|
|
46
|
+
<path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
|
|
47
|
+
<path d="M19.938 10.5a4 4 0 0 1 .585.396" />
|
|
48
|
+
<path d="M6 18a4 4 0 0 1-1.967-.516" />
|
|
49
|
+
<path d="M19.967 17.484A4 4 0 0 1 18 18" /></symbol>
|
|
50
|
+
<symbol id="i-git-branch" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="6" x2="6" y1="3" y2="15" />
|
|
51
|
+
<circle cx="18" cy="6" r="3" />
|
|
52
|
+
<circle cx="6" cy="18" r="3" />
|
|
53
|
+
<path d="M18 9a9 9 0 0 1-9 9" /></symbol>
|
|
54
|
+
<symbol id="i-database" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3" />
|
|
55
|
+
<path d="M3 5V19A9 3 0 0 0 21 19V5" />
|
|
56
|
+
<path d="M3 12A9 3 0 0 0 21 12" /></symbol>
|
|
57
|
+
<symbol id="i-zap" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" /></symbol>
|
|
58
|
+
<symbol id="i-scan-search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7V5a2 2 0 0 1 2-2h2" />
|
|
59
|
+
<path d="M17 3h2a2 2 0 0 1 2 2v2" />
|
|
60
|
+
<path d="M21 17v2a2 2 0 0 1-2 2h-2" />
|
|
61
|
+
<path d="M7 21H5a2 2 0 0 1-2-2v-2" />
|
|
62
|
+
<circle cx="12" cy="12" r="3" />
|
|
63
|
+
<path d="m16 16-1.9-1.9" /></symbol>
|
|
64
|
+
<symbol id="i-bug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88" />
|
|
65
|
+
<path d="M14.12 3.88 16 2" />
|
|
66
|
+
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
|
67
|
+
<path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
|
|
68
|
+
<path d="M12 20v-9" />
|
|
69
|
+
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
|
70
|
+
<path d="M6 13H2" />
|
|
71
|
+
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
|
72
|
+
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
|
73
|
+
<path d="M22 13h-4" />
|
|
74
|
+
<path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></symbol>
|
|
75
|
+
<symbol id="i-repeat" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m17 2 4 4-4 4" />
|
|
76
|
+
<path d="M3 11v-1a4 4 0 0 1 4-4h14" />
|
|
77
|
+
<path d="m7 22-4-4 4-4" />
|
|
78
|
+
<path d="M21 13v1a4 4 0 0 1-4 4H3" /></symbol>
|
|
79
|
+
<symbol id="i-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" />
|
|
80
|
+
<polyline points="8 6 2 12 8 18" /></symbol>
|
|
81
|
+
<symbol id="i-lock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
|
|
82
|
+
<path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol>
|
|
83
|
+
<symbol id="i-plug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5" />
|
|
84
|
+
<path d="M9 8V2" />
|
|
85
|
+
<path d="M15 8V2" />
|
|
86
|
+
<path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" /></symbol>
|
|
87
|
+
<symbol id="i-layers" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
|
|
88
|
+
<path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
|
|
89
|
+
<path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" /></symbol>
|
|
90
|
+
<symbol id="i-chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6" /></symbol>
|
|
91
|
+
<symbol id="i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
|
|
92
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></symbol>
|
|
93
|
+
<symbol id="i-play" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3" /></symbol>
|
|
94
|
+
<symbol id="i-maximize" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9" /><polyline points="9 21 3 21 3 15" /><line x1="21" x2="14" y1="3" y2="10" /><line x1="3" x2="10" y1="21" y2="14" /></symbol>
|
|
95
|
+
<symbol id="i-x" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></symbol>
|
|
96
|
+
<symbol id="i-mail" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2" /><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" /></symbol>
|
|
97
|
+
<symbol id="i-message-square" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /></symbol>
|
|
98
|
+
</svg>
|
|
99
|
+
|
|
100
|
+
<a class="skip" href="#main">Skip to content</a>
|
|
101
|
+
<header class="nav" id="navigation">
|
|
102
|
+
<div class="nav__bar">
|
|
103
|
+
<a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="" width="160" height="76"></picture><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
|
|
104
|
+
<nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></nav>
|
|
105
|
+
<div class="nav__end">
|
|
106
|
+
<button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
|
|
107
|
+
<button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></div>
|
|
111
|
+
</header>
|
|
112
|
+
<div class="container docs-layout">
|
|
113
|
+
<nav class="docs-side" aria-label="Docs">
|
|
114
|
+
<a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
|
|
115
|
+
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="index.html" aria-current="page"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
|
|
116
|
+
</nav>
|
|
117
|
+
<main id="main" class="docs-main guide chapter-page">
|
|
118
|
+
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Browser and tests</p>
|
|
119
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="index.html" aria-current="page"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-run-test-cases">Run manual test cases in browsers</a></li><li><a href="#doc-how_to_use-7-test-cases-and-suites">Test cases and suites</a></li><li><a href="#doc-how_to_use-where-cases-come-from">Where cases come from</a></li><li><a href="#doc-how_to_use-running">Running</a></li><li><a href="#doc-how_to_use-results-back-in-the-source">Results back in the source</a></li><li><a href="#doc-how_to_use-bugs-for-failures">Bugs for failures</a></li><li><a href="#cap-test-case-quality">Check and improve test cases</a></li><li><a href="#doc-how_to_use-checking-test-cases-before-they-run">Checking test cases before they run</a></li><li><a href="#cap-write-test-cases">Write test cases from a story</a></li><li><a href="#cap-domain-compliance">Domain and regulatory test design</a></li><li><a href="#doc-how_to_use-16-domain-and-regulations">Domain and regulations</a></li><li><a href="#cap-exploratory-testing">Exploratory testing of a story</a></li><li><a href="#doc-how_to_use-exploratory-testing-from-a-story">Exploratory testing from a story</a></li><li><a href="#cap-business-personas">Business personas for testing</a></li><li><a href="#doc-how_to_use-business-personas">Business personas</a></li><li><a href="#cap-basal">BASAL: business testing that acts</a></li><li><a href="#doc-how_to_use-basal-business-testing">BASAL: business testing</a></li></ul></nav></details></div>
|
|
120
|
+
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-case"/></svg>Test cases</h1>
|
|
121
|
+
<p class="guide-lead">Run, check, write, and explore manual test cases</p>
|
|
122
|
+
<article class="spec feat" id="cap-run-test-cases">
|
|
123
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Run manual test cases in browsers</h3></div>
|
|
124
|
+
<p class="ds">Reads test cases from Azure DevOps, Jira, Xray, TestRail, Zephyr Scale, qTest, a file, or pasted text, runs each in a real browser with a verdict per step, writes report.html and junit.xml, posts results back, and files or updates bugs for failures.</p>
|
|
125
|
+
<div class="facts">
|
|
126
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Run SHOP-12 and SHOP-14 from Jira, two browsers at once</li><li>Run test plan 12 suite 34 from Azure DevOps and don't post results</li></ul></div>
|
|
127
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li><li><span class="need opt">Optional</span><span>Azure DevOps or Jira or Xray or TestRail or Zephyr Scale or qTest, to read cases from a test management system and post results back (files and pasted text work without one): set up under sources: in forgeqe.yaml, or sign in with /auth</span></li><li><span class="need opt">Optional</span><span>Bug filing: sources.bugs in forgeqe.yaml (Jira or Azure DevOps)</span></li></ul></div>
|
|
128
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>find_test_cases</code> <code>run_test_cases</code></p></div>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
131
|
+
<section class="doc" id="doc-how_to_use-7-test-cases-and-suites">
|
|
132
|
+
<h4>Test cases and suites</h4>
|
|
133
|
+
<div class="prose"><p>Test cases you already have can be run two ways. In the shell or with <code>forgeqe run</code>, ask in plain words ("run SHOP-12 and SHOP-14", "run test plan 12 suite 34", "run the cases in smoke.yaml") or paste the cases, and the agent works out the source. <code>forgeqe suite</code> takes explicit references and runs the same way every time, with no agent involved, which is what pipelines call. Each case is one goal: ForgeQE tells the agent to do the steps in order and to check every expected result, and the agent's verdict decides whether the case passed. A case with no steps (plain text, a Jira story) is run from its description.</p>
|
|
134
|
+
</div>
|
|
135
|
+
<section class="doc sub" id="doc-how_to_use-api-steps-in-a-test-case"><h5>API steps in a test case</h5><div class="prose"><p>A test case can mix API and UI steps ("add three products with POST /add_to_cart/{id}, then remove the first one in the cart, then pay"). The browser agent makes each API step with its <code>api_request</code> action, from the page, in the browser's own session: the logged-in user's cookies go with the call, and the CSRF token comes from the cookie or the page's form when the site needs one. So what an API step changes (a cart, an order) is what the next UI step sees.</p>
|
|
136
|
+
<ul>
|
|
137
|
+
<li><strong>The verdict</strong> of an API step rests on the status the server answered, not on the agent's account of it.</li>
|
|
138
|
+
<li><strong>The run records it</strong> as an <code>api</code> step in <code>workflow.yaml</code>: method, URL, body, CSRF source, and the status and final URL the server gave.</li>
|
|
139
|
+
<li><strong>ForgeQE's replay repeats it</strong> the same way, and fails that step when the server answers differently (403 where the run got 200), so the replay and the test get past it instead of stalling on an empty cart.</li>
|
|
140
|
+
<li><strong>Quill's handoff</strong> lists each API step with what was sent and answered, and tells Quill to make it through the framework's API request context that shares the browser's cookies (Playwright's <code>page.request</code>), asserting the status.</li>
|
|
141
|
+
<li><strong>Kept for reuse</strong>: the calls are saved as an API scenario, one per test case (<code>out/api/case-ado-2287/</code>, updated by each run), which <code>forgeqe api</code> and the API tools run again without a browser. The run's card says where (<em>API 2 calls saved as a reusable API scenario</em>).</li>
|
|
142
|
+
</ul>
|
|
143
|
+
<p>URLs the case gives are opened exactly as given: when the model adds a trailing slash (<code>/login/</code>, a 404 on many sites), ForgeQE opens and records the URL from the case.</p>
|
|
144
|
+
<p>When a run finds a test case does not fit the application, the agent drafts the steps as they should be, from what the run found, and offers to save them. <code>update_test_case</code> shows the current and the new steps and asks before it changes the Azure DevOps Test Case; the reason goes into the work item's history, where the old steps stay.</p>
|
|
145
|
+
</div></section>
|
|
146
|
+
<section class="doc sub" id="doc-how_to_use-when-a-case-fails"><h5>When a case fails</h5><div class="prose"><p>The browser run of a test case is the test, so when a case does not pass, ForgeQE works out what kind of failure it was and acts on it. The browser agent reports a cause for each failed step (it saw the page); clear evidence in the run, such as an unreachable site or a 503 page, overrides "I could not operate it".</p>
|
|
147
|
+
<div class="tbl tbl--cols-4"><table>
|
|
148
|
+
<thead>
|
|
149
|
+
<tr><th>Failure</th><th>What it means</th><th>Bug</th><th>Automation script</th></tr>
|
|
150
|
+
</thead>
|
|
151
|
+
<tbody>
|
|
152
|
+
<tr><td data-label="Failure">Functional defect</td><td data-label="What it means">Every step was done and the application behaves wrong (a wrong total, no confirmation)</td><td data-label="Bug">Filed straight away</td><td data-label="Automation script">Written for the correct behaviour (the test case's expected results) and marked as an expected failure naming the bug: Playwright <code>test.fail()</code>, pytest <code>xfail(strict=True)</code>. It passes while the defect is there and fails once it is fixed, telling you to remove the marker</td></tr>
|
|
153
|
+
<tr><td data-label="Failure">Test case needs updating</td><td data-label="What it means">The test case does not fit the application (a field or page it names is not there)</td><td data-label="Bug">No</td><td data-label="Automation script">No: update the test case. The report and the comment on the test case say what the application shows instead</td></tr>
|
|
154
|
+
<tr><td data-label="Failure">Environment problem</td><td data-label="What it means">The application or something it needs was unavailable (an error page, a 5xx, a network failure, sign-in or test data missing, a bot check)</td><td data-label="Bug">No</td><td data-label="Automation script">No. The case runs once more straight away; if it still fails, check the environment first</td></tr>
|
|
155
|
+
<tr><td data-label="Failure">Automation problem</td><td data-label="What it means">A control that is there could not be operated, or the run ran out of steps</td><td data-label="Bug">No</td><td data-label="Automation script">Not yet: page memory keeps the steps that worked and the next run resumes from them</td></tr>
|
|
156
|
+
</tbody>
|
|
157
|
+
</table></div>
|
|
158
|
+
<p>In Azure DevOps a test plan point is recorded as Blocked, not Failed, for the last three, so the plan's failures are product defects, and the comment on the test case names the kind of failure.</p>
|
|
159
|
+
<p><strong>Tests that need attention.</strong> A coding job that ends without a passing, approved test does not leave a failing test among your tests. The files it created move to a <code>needs-attention/<case id>/</code> folder beside the test, with their relative imports fixed, and a README says which test case it is for, why it stopped (the last failure, the reviewer's issues), and how to pick it up; <code>needs-attention/README.md</code> lists them all. The job's edits to files that were committed before it are saved as <code>changes.patch</code> in that folder and taken out of the files; files you had already changed are left as they are. The folder is kept out of test runs and builds: Playwright's config gets <code>testIgnore: ['**/needs-attention/**']</code>, TypeScript files a <code>// @ts-nocheck</code> line, a Python folder a <code>conftest.py</code> that collects nothing, and C#, Java, or Kotlin files a <code>.txt</code> suffix. <code>code.needs_attention: false</code> leaves unfinished tests where they are.</p>
|
|
160
|
+
<p><strong>Running a case again.</strong> A case that already has a test (in <code>.forgeqe/test-cases.json</code>) does not get a new one: after its browser run, ForgeQE runs the existing test first. When it passes, there is no coding job at all. When it fails, the coding agent updates that test (with the failure and the new verified run) instead of writing one from scratch. A known-defect test whose defect is fixed (the case now passes) is updated to drop its expected-failure marker; a test that passes although the run found a defect gets the defect's assertion and the marker.</p>
|
|
161
|
+
<p><strong>Mapping tests to test cases.</strong> Each test written for a test case is named <code><case id> <title></code> and tagged with the case id and link in the framework's own way (Playwright tags and annotations, a pytest marker, an NUnit property). <code>.forgeqe/test-cases.json</code> in the repository maps every test case to its test, with its status (<code>automated</code>, <code>known_defect</code> with the bug, or <code>needs_attention</code> with the folder); commit it with the tests. For Azure DevOps test cases, a passing test is also set as the work item's Associated Automation (test name, file, type, and a stable id, with Automation status Automated), so the test plan shows the case as automated.</p>
|
|
162
|
+
</div></section>
|
|
163
|
+
<section class="doc sub" id="doc-how_to_use-in-the-shell"><h5>In the shell</h5><div class="prose"><p>Ask for the cases in plain words, for example "run SHOP-12 and SHOP-14, two at a time" or "show me what's in test plan 12 without running it". The transcript shows each case's steps as it runs, and a suite card at the end:</p>
|
|
164
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">┃ ✗ Suite failed 1/2 passed · 1m 12s · 48.2K tokens
|
|
165
|
+
</span></span><span class="ln"><span class="cmd">┃
|
|
166
|
+
</span></span><span class="ln"><span class="cmd">┃ ✓ SF-1 Search Mumbai 38s
|
|
167
|
+
</span></span><span class="ln"><span class="cmd">┃ ✗ SF-2 Open a hotel 34s
|
|
168
|
+
</span></span><span class="ln"><span class="cmd">┃ No hotel link on the results page
|
|
169
|
+
</span></span><span class="ln"><span class="cmd">┃
|
|
170
|
+
</span></span><span class="ln"><span class="cmd">┃ Report .forgeqe/reports/suites/20260928-215438/report.html
|
|
171
|
+
</span></span><span class="ln"><span class="cmd">┃ JUnit .forgeqe/reports/suites/20260928-215438/junit.xml
|
|
172
|
+
</span></span></code></pre></div>
|
|
173
|
+
</div></section>
|
|
174
|
+
</section>
|
|
175
|
+
<section class="doc" id="doc-how_to_use-where-cases-come-from">
|
|
176
|
+
<h4>Where cases come from</h4>
|
|
177
|
+
<div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe cases cases.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> list them
|
|
178
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe cases cases.yaml --goal</span><span class="pad"> </span><span class="cm"><span class="h">#</span> and the exact goal each one runs
|
|
179
|
+
</span></span></code></pre></div>
|
|
180
|
+
<p><strong>Plain text.</strong> A quoted string is one case: <code>forgeqe suite "Log in as the demo user and open Invoices"</code>.</p>
|
|
181
|
+
<p><strong>Text or Markdown file.</strong> Without case headings, each block between <code>---</code> lines is a case, its first line the title:</p>
|
|
182
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">Search for hotels in Mumbai and check at least one result is shown
|
|
183
|
+
</span></span><span class="ln"><span class="cmd">---
|
|
184
|
+
</span></span><span class="ln"><span class="cmd">Open the Deals page
|
|
185
|
+
</span></span><span class="ln"><span class="cmd">Check every deal has a price
|
|
186
|
+
</span></span></code></pre></div>
|
|
187
|
+
<p><strong>Markdown with a heading per case.</strong> A heading that starts with a case id (<code>## 5458-02 Empty state</code>, <code>### TC-3: Sign in</code>, <code>## Test case 4 – Search</code>) starts a case; a section number (<code>## 1. Introduction</code>) does not. Every section outside a case (the introduction, <code>## Common steps</code>, <code>## Preconditions</code>, <code>## Test data</code>, business rules) goes with every case: common steps (or setup, background, sign-in) come before the case's own steps, preconditions join its preconditions, and the rest is in its description. Inside a case, <code>Preconditions</code>, <code>Steps</code> (a numbered list or a table with Step, Data and Expected columns) and <code>Expected results</code> are read as sub-headings or as <code>**Label:**</code> lines. Run one case of the file by its id: "run test case 5458-02 from TestCases/DTPE-5458-View-Documents.md". An id the file does not have is an error that lists the ids it has. A case's preconditions are taken as met by the test data it names: the run does not stop to prove them.</p>
|
|
188
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>markdown</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd"># DTPE-5458 View Documents
|
|
189
|
+
</span></span><span class="ln ln--gap">
|
|
190
|
+
</span><span class="ln"><span class="cmd">## Common steps
|
|
191
|
+
</span></span><span class="ln"><span class="cmd">1. Open the Corporate Portal.
|
|
192
|
+
</span></span><span class="ln"><span class="cmd">2. Sign in with the account the case names.
|
|
193
|
+
</span></span><span class="ln ln--gap">
|
|
194
|
+
</span><span class="ln"><span class="cmd">## 5458-02 Empty state when the user has no documents
|
|
195
|
+
</span></span><span class="ln"><span class="cmd">### Preconditions
|
|
196
|
+
</span></span><span class="ln"><span class="cmd">- Sign in as withoutdocs_user, who has no documents.
|
|
197
|
+
</span></span><span class="ln"><span class="cmd">### Steps
|
|
198
|
+
</span></span><span class="ln"><span class="cmd">1. Open Documents.
|
|
199
|
+
</span></span><span class="ln"><span class="cmd">### Expected results
|
|
200
|
+
</span></span><span class="ln"><span class="cmd">- "You have no documents" is shown.
|
|
201
|
+
</span></span></code></pre></div>
|
|
202
|
+
<p><strong>YAML or JSON.</strong> A list, or <code>{cases: [...]}</code>:</p>
|
|
203
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">- id: SHOP-12
|
|
204
|
+
</span></span><span class="ln"><span class="cmd"> title: Valid login
|
|
205
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> url: https://staging.shop.test/login</span><span class="pad"> </span><span class="cm"><span class="h">#</span> start page (optional)
|
|
206
|
+
</span></span><span class="ln"><span class="cmd"> preconditions: [The demo user exists]
|
|
207
|
+
</span></span><span class="ln"><span class="cmd"> steps:
|
|
208
|
+
</span></span><span class="ln"><span class="cmd"> - action: Sign in as demo@shop.test
|
|
209
|
+
</span></span><span class="ln"><span class="cmd"> data: password from DEMO_PASSWORD
|
|
210
|
+
</span></span><span class="ln"><span class="cmd"> expected: The dashboard greets the user by name
|
|
211
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> - Open the Orders page</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a step can be a plain string
|
|
212
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> group: Accounts</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: area for the Coverage page (or suite, area)
|
|
213
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> requirements: [SHOP-3, SHOP-4]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: stories it covers (or refs)
|
|
214
|
+
</span></span></code></pre></div>
|
|
215
|
+
<p><strong>CSV.</strong> Header row, then a row per case. A row with an empty id (or the id above) adds a step to that case:</p>
|
|
216
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>csv</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">id,title,url,action,expected
|
|
217
|
+
</span></span><span class="ln"><span class="cmd">SHOP-12,Valid login,https://staging.shop.test/login,Sign in as demo,Dashboard shows
|
|
218
|
+
</span></span><span class="ln"><span class="cmd">,,,Open Orders,Orders list shows
|
|
219
|
+
</span></span></code></pre></div>
|
|
220
|
+
<p>Columns: <code>id</code> (or <code>key</code>), <code>title</code> (or <code>name</code>, <code>summary</code>), <code>url</code>, <code>description</code>, <code>preconditions</code>, <code>tags</code>, <code>group</code> (or <code>suite</code>, <code>area</code>), <code>requirements</code> (or <code>refs</code>), <code>action</code> (or <code>step</code>), <code>data</code>, <code>expected</code> (or <code>expected_result</code>, <code>result</code>). Lists in a cell are separated by <code>;</code>.</p>
|
|
221
|
+
<p><strong>Gherkin.</strong> Each <code>Scenario</code> in a <code>.feature</code> file is a case, and each <code>Examples</code> row of a <code>Scenario Outline</code> is its own case. <code>Background</code> steps come first, and <code>Then</code> steps are the expected results of the step before them.</p>
|
|
222
|
+
<p><strong>Azure DevOps.</strong> Set the organization, and a PAT with Test Management and Work Items (read and write) in <code>ADO_PAT</code>. The MCP server is the whole organization. Leave <code>project</code> unset (or set it to <code>*</code> or <code>all</code>) and ForgeQE's own calls cover every project; set <code>project</code> only to limit those calls to one.</p>
|
|
223
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
224
|
+
</span></span><span class="ln"><span class="cmd"> azure_devops:
|
|
225
|
+
</span></span><span class="ln"><span class="cmd"> org_url: https://dev.azure.com/acme
|
|
226
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> project: Shop # optional
|
|
227
|
+
</span></span></code></pre></div>
|
|
228
|
+
<p><code>ado:123,456</code> reads test case work items: their steps and expected results (HTML turned into text), shared steps inlined, and one case per parameter row with <code>@param</code> values filled in. Work item ids are unique in the organization, so they do not need a project. <code>ado:plan=12</code> reads every suite in a test plan and <code>ado:plan=12/suite=34</code> one suite, with each test point's configuration. With no project configured, the plan is looked up in every project. <code>ado:project=Shop/plan=12</code> names one.</p>
|
|
229
|
+
<p><strong>Jira.</strong> <code>jira:SHOP-1,SHOP-2</code> or <code>jira:jql=project = SHOP AND labels = e2e</code>. The summary is the title and the description holds the steps. Jira Cloud (<code>*.atlassian.net</code>) needs <code>JIRA_EMAIL</code> and an API token in <code>JIRA_API_TOKEN</code>; Server and Data Center use a personal access token in <code>JIRA_API_TOKEN</code>.</p>
|
|
230
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
231
|
+
</span></span><span class="ln"><span class="cmd"> jira:
|
|
232
|
+
</span></span><span class="ln"><span class="cmd"> url: https://acme.atlassian.net
|
|
233
|
+
</span></span></code></pre></div>
|
|
234
|
+
<p><strong>Xray.</strong> <code>xray:SHOP-1</code>, <code>xray:jql=<query></code>, or <code>xray:plan=SHOP-100</code> for a test plan's tests, with Xray's own steps, data, and expected results. Xray Cloud needs an API key pair in <code>XRAY_CLIENT_ID</code> and <code>XRAY_CLIENT_SECRET</code>. Xray Server and Data Center go through the Jira settings above.</p>
|
|
235
|
+
<p><strong>TestRail.</strong> <code>testrail:C12,C13</code> reads cases by id, <code>testrail:run=45</code> the tests of a run (results go back to that run), <code>testrail:plan=7</code> every run in a plan, and <code>testrail:suite=3</code> a suite (needs <code>project_id</code>). Separated steps (<code>custom_steps_separated</code>) become steps with expected results; the text template's steps become one step. It needs the user's email in <code>TESTRAIL_EMAIL</code> and an API key in <code>TESTRAIL_API_KEY</code>.</p>
|
|
236
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
237
|
+
</span></span><span class="ln"><span class="cmd"> testrail:
|
|
238
|
+
</span></span><span class="ln"><span class="cmd"> url: https://acme.testrail.io
|
|
239
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> project_id: 1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> needed for suites, and to create a run for cases read by id
|
|
240
|
+
</span></span></code></pre></div>
|
|
241
|
+
<p><strong>Zephyr Scale (Cloud).</strong> <code>zephyr:SHOP-T1,SHOP-T2</code>, <code>zephyr:cycle=SHOP-R5</code> (results go back to that cycle), or <code>zephyr:folder=12</code> (needs <code>project_key</code>). Call-to-test steps are inlined. It needs an API access token in <code>ZEPHYR_API_TOKEN</code>; setting the variable is enough to turn it on.</p>
|
|
242
|
+
<p><strong>qTest.</strong> <code>qtest:1234</code> reads test cases by the id in their URL, <code>qtest:cycle=88</code> and <code>qtest:suite=9</code> the test runs under a cycle or suite (results go back to those runs). It needs <code>url</code>, <code>project_id</code>, and an API token in <code>QTEST_TOKEN</code>. Result statuses are the automation status names your qTest uses; the defaults are PASS, FAIL, and BLOCKED:</p>
|
|
243
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
244
|
+
</span></span><span class="ln"><span class="cmd"> qtest:
|
|
245
|
+
</span></span><span class="ln"><span class="cmd"> url: https://acme.qtestnet.com
|
|
246
|
+
</span></span><span class="ln"><span class="cmd"> project_id: 12345
|
|
247
|
+
</span></span><span class="ln"><span class="cmd"> statuses: { passed: PASS, failed: FAIL, error: BLOCKED }
|
|
248
|
+
</span></span></code></pre></div>
|
|
249
|
+
<p><strong>ServiceNow (read only).</strong> <code>servicenow:TST0001234</code> (record numbers or sys_ids) or <code>servicenow:query=active=true^short_descriptionLIKElogin</code> (the first 100) reads Test Management tests and their steps through the Table API; results are not posted back. With <code>user_env</code> set it signs in as that user with <code>token_env</code> as the password; with <code>user_env: ""</code> the token variable holds an OAuth access token. Table names differ between releases, so check them in your instance:</p>
|
|
250
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
251
|
+
</span></span><span class="ln"><span class="cmd"> servicenow:
|
|
252
|
+
</span></span><span class="ln"><span class="cmd"> url: https://acme.service-now.com
|
|
253
|
+
</span></span><span class="ln"><span class="cmd"> user_env: SERVICENOW_USER
|
|
254
|
+
</span></span><span class="ln"><span class="cmd"> token_env: SERVICENOW_PASSWORD
|
|
255
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> test_table: sn_test_management_test
|
|
256
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> step_table: sn_test_management_step
|
|
257
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> step_parent: test # the step's field naming its test
|
|
258
|
+
</span></span></code></pre></div>
|
|
259
|
+
<p>Several sources can be mixed: <code>forgeqe suite smoke.yaml jira:SHOP-7 testrail:C12</code>.</p>
|
|
260
|
+
<p><strong>Which system an id is in.</strong> A prefix (<code>jira:TA-2344</code>, <code>ado:1234</code>) or a link to a configured site always settles it. A bare id is matched by its shape against the systems you set up: <code>C12</code> TestRail, <code>SHOP-T3</code> Zephyr Scale, <code>SHOP-12</code> Jira, <code>TST0001234</code> ServiceNow, and a plain number Azure DevOps, GitHub or qTest. If only one configured system fits, that one is used; if several fit, the command stops and the agent asks you which, never guessing. Map ids for good with <code>id_routes</code>, a prefix and <code>*</code> (never a regular expression), or <code>*</code> alone for plain numbers:</p>
|
|
261
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
262
|
+
</span></span><span class="ln"><span class="cmd"> id_routes:
|
|
263
|
+
</span></span><span class="ln"><span class="cmd"> "TA-*": jira
|
|
264
|
+
</span></span><span class="ln"><span class="cmd"> "TST*": servicenow
|
|
265
|
+
</span></span><span class="ln"><span class="cmd"> "*": azure_devops
|
|
266
|
+
</span></span></code></pre></div>
|
|
267
|
+
<p><strong>From requirements.</strong> Ask the agent to test a Confluence page, a story, or a spec file ("write and run test cases for the refund rules page in Confluence"). It reads the requirements, writes one case per rule or acceptance criterion with the main negative paths, shows them, and runs them as text cases. It saves them into a test system only when you ask. Confluence needs <code>sources.confluence</code>:</p>
|
|
268
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
269
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> confluence: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the wiki on the Jira Cloud site above, same account
|
|
270
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> or
|
|
271
|
+
</span></span><span class="ln"><span class="cmd"> confluence:
|
|
272
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> url: https://confluence.acme.com</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Cloud: https://acme.atlassian.net/wiki
|
|
273
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> token_env: CONFLUENCE_TOKEN</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Server/DC personal access token; Cloud also email_env
|
|
274
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> space: QA</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: keep searches in one space
|
|
275
|
+
</span></span></code></pre></div>
|
|
276
|
+
</div>
|
|
277
|
+
</section>
|
|
278
|
+
<section class="doc" id="doc-how_to_use-running">
|
|
279
|
+
<h4>Running</h4>
|
|
280
|
+
<div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe suite cases.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one case at a time
|
|
281
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe suite ado:plan=12 --parallel 3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> three browsers at once
|
|
282
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe suite cases.yaml --repo ../app</span><span class="pad"> </span><span class="cm"><span class="h">#</span> passed cases get a test in ../app
|
|
283
|
+
</span></span><span class="ln"><span class="cmd">forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
|
|
284
|
+
</span></span></code></pre></div>
|
|
285
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">suite:
|
|
286
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> parallel: 1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> browsers at once
|
|
287
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> code: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> with a repo set, passed cases go to Quill
|
|
288
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> restore_sessions: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> true: each case starts signed in from the saved logins' sessions
|
|
289
|
+
</span></span><span class="ln"><span class="cmd"> out_dir: ./.forgeqe/reports/suites
|
|
290
|
+
</span></span></code></pre></div>
|
|
291
|
+
<p>Browser runs happen <code>parallel</code> at a time and share page memory safely. Each passed case goes to the coding agent as soon as its own browser run ends, and its test is written and run before that browser slot starts the next case: explore, hand off, code, next case. Coding jobs run one after another, so two never edit the repo at once. A case with no test says why in the report (it failed, or no model is set up). With <code>--parallel</code> above 1, each line of output starts with the case id. Ctrl-C stops the suite: cases already running finish closing their browsers, and cases that never started are reported as not run.</p>
|
|
292
|
+
<p>At the end, ForgeQE prints the result of every case and writes to <code>.forgeqe/reports/suites/<time>/</code>:</p>
|
|
293
|
+
<ul>
|
|
294
|
+
<li>
|
|
295
|
+
<p><code>report.html</code>: a single file with every screenshot embedded; open it from disk, no server needed. Its menu has three groups. <strong>This run</strong>:</p>
|
|
296
|
+
<ul>
|
|
297
|
+
<li><strong>Overview</strong>: the verdict, totals, step checks, browser steps, tokens, cost, what page memory saved, browser errors, accessibility issues, tests written and bugs filed; what changed since the last run; results over the earlier runs in <code>.forgeqe/reports/suites/</code>; the cases that need attention and why; results by source and by tag; the slowest cases; and what was posted where.</li>
|
|
298
|
+
<li><strong>Test results</strong>: search and filter the cases. For each case: its step table (action, expected, the agent's verdict, what it actually saw), why it failed (the failed step, the agent's last evaluation, failed actions, the screenshot), <strong>last good vs now</strong> (the same page from the case's last passing run beside this run's, and where their browser steps start to differ), the browser errors per step (console errors, uncaught exceptions, failed and slow requests), page memory (steps replayed, tokens and time saved against the last run where the agent took every step, locators that healed, flows repaired), the browser agent's steps (goal, actions, errors, time and model time, a screenshot each with the element it acted on outlined), a timing waterfall (waiting for the model, acting in the browser, replayed from memory), the accessibility issues of each page, a screenshot gallery, and its trace, workflow and handoff to read in place. Run history links to earlier reports.</li>
|
|
299
|
+
<li><strong>Failures</strong>: each failed case with what the agent reported, the evidence (including browser errors), its last passing screenshot, its bug, and text to copy into a bug report.</li>
|
|
300
|
+
<li><strong>Defects</strong>: failures grouped by what caused them, so one fix clears every case it breaks, most cases broken first, with each defect's root-cause hypothesis when there is one; it downloads as Markdown.</li>
|
|
301
|
+
<li><strong>Since last run</strong>: new failures, fixes, cases still failing, cases at least 5 s and 25% slower or faster, and new or dropped cases, against the previous run in the folder.</li>
|
|
302
|
+
</ul>
|
|
303
|
+
<p><strong>Analysis</strong>:</p>
|
|
304
|
+
<ul>
|
|
305
|
+
<li><strong>Trends</strong> and <strong>Flaky tests</strong>: pass rate, outcomes, duration, tokens and cost per run; cases whose result keeps changing, and cases that started failing. Both need earlier suite runs in the same folder.</li>
|
|
306
|
+
<li><strong>Time and cost</strong>: where the time went (model, browser, page memory), a timeline of the cases on each parallel worker, page memory savings per case, and tokens and cost per case.</li>
|
|
307
|
+
<li><strong>Coverage</strong>: results by requirement (a requirement fails when any case covering it fails), by group, by tag and by source. Groups and requirements come from the source: the area path in Azure DevOps, the section and refs in TestRail, the folder in Zephyr Scale, components (or the parent issue) and "tests" links in Jira, and <code>group</code> / <code>requirements</code> in case files.</li>
|
|
308
|
+
<li><strong>Accessibility</strong>: the WCAG rules of the standard you chose, checked by axe-core on every page the agent visited: the rules that passed, each rule that failed with its success criterion, level, impact, the elements and a link to how to fix it, and any accessibility budget exceeded. Automated checks are a pre-check, not conformance.</li>
|
|
309
|
+
<li><strong>Visual</strong>: every page against its approved baseline: baseline, this run, and the difference side by side, changed pages first, with the share of pixels changed and the visual budget.</li>
|
|
310
|
+
<li><strong>Performance</strong>: each page's Core Web Vitals (LCP, CLS, INP, FCP, TTFB) and load time, coloured good / needs improvement / poor by Google's thresholds, with the budgets each page went over.</li>
|
|
311
|
+
</ul>
|
|
312
|
+
<p><strong>Tokenomics</strong> (reports with token usage):</p>
|
|
313
|
+
<ul>
|
|
314
|
+
<li><strong>Usage</strong>: a usage summary, tokens by case, tokens over the run, and the calls that used the most tokens.</li>
|
|
315
|
+
<li><strong>Breakdown</strong>: what the tokens paid for, by agent, job, task, purpose, model, user and machine.</li>
|
|
316
|
+
<li><strong>Model calls</strong>: every request the agents sent to a model.</li>
|
|
317
|
+
<li><strong>Models</strong>: the models behind the calls, and what the listed alternatives would cost.</li>
|
|
318
|
+
<li><strong>Trends and forecast</strong>: model spend on this machine so far, and the next days at the recent pace, against the budget.</li>
|
|
319
|
+
<li><strong>Calculator</strong>: estimate what a suite will cost before you run it, starting from this run's real numbers.</li>
|
|
320
|
+
<li><strong>Optimise</strong>: where the report could have spent less on models, by how much, and what to change.</li>
|
|
321
|
+
</ul>
|
|
322
|
+
<p><strong>Environment</strong> opens from the model card at the foot of the menu: model, browser, the model's price, start URL, ForgeQE version, machine, CI build, branch, commit, and the sites visited.</p>
|
|
323
|
+
<p>It exports Markdown and JSON and prints cleanly. Up to 40 MB of screenshots are embedded, failed cases first; beyond that they load from the run folders next to the report.</p>
|
|
324
|
+
</li>
|
|
325
|
+
<li>
|
|
326
|
+
<p><code>junit.xml</code>: for CI test reporting; a failed case is a <code><failure></code>, a crash an <code><error></code>, a case not run <code><skipped></code>; step verdicts are in <code>system-out</code></p>
|
|
327
|
+
</li>
|
|
328
|
+
<li>
|
|
329
|
+
<p><code>suite.json</code>: everything above as data</p>
|
|
330
|
+
</li>
|
|
331
|
+
<li>
|
|
332
|
+
<p><code>01-SHOP-12/</code>, <code>02-…</code>: each case's normal run folder (with its own <code>report.html</code>, <code>steps.json</code>, and <code>steps/NN.jpg</code> screenshots), plus <code>testcase.json</code></p>
|
|
333
|
+
</li>
|
|
334
|
+
</ul>
|
|
335
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">report:
|
|
336
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> screenshots: all</span><span class="pad"> </span><span class="cm"><span class="h">#</span> all | failures (only failed runs keep step screenshots) | off
|
|
337
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> accessibility: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> check each page the agent visits; false skips the checks
|
|
338
|
+
</span></span></code></pre></div>
|
|
339
|
+
<p>Bugs filed for failed cases list the run's console errors and failed requests under "Browser errors".</p>
|
|
340
|
+
<p>Exit codes: <code>0</code> every case passed (and every test written for them passes), <code>1</code> anything failed, <code>2</code> stopped.</p>
|
|
341
|
+
</div>
|
|
342
|
+
</section>
|
|
343
|
+
<section class="doc" id="doc-how_to_use-results-back-in-the-source">
|
|
344
|
+
<h4>Results back in the source</h4>
|
|
345
|
+
<div class="prose"><p>Test cases the agent writes from an Azure DevOps or Jira story are saved there with <code>save_test_cases</code>, linked to the story, and the reply lists them as links; set <code>sources.save_cases: false</code> to keep them in the reply only. Replies in the shell render as markdown (headings, lists, tables, links).</p>
|
|
346
|
+
<p>A story often changes a feature that already has test cases, linked to an older story. Map where those cases live in <code>forgeqe.yaml</code>, and saving reuses or extends them instead of writing new ones:</p>
|
|
347
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
348
|
+
</span></span><span class="ln"><span class="cmd"> azure_devops:
|
|
349
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> test_cases:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the story's area path (or a parent of it) = where its cases are
|
|
350
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> Shop\Checkout: plan=12/suite=34</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a suite; plan=12 alone is every suite of the plan (the first 25)
|
|
351
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> "*": area=Shop\Regression</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Test Cases under an area path; * is every other story
|
|
352
|
+
</span></span><span class="ln"><span class="cmd"> jira:
|
|
353
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> test_cases:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the story's project key = where its cases are
|
|
354
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> SHOP: label=regression; component=Checkout</span><span class="pad"> </span><span class="cm"><span class="h">#</span> also project= and type= (default Test)
|
|
355
|
+
</span></span></code></pre></div>
|
|
356
|
+
<p>ForgeQE reads that one place itself, at most 300 cases by title and the steps of only the few closest to each new case, so the agent never searches for cases and spends nothing on it. Each case the agent wrote is then: <strong>reuse</strong> when a case there has the same steps; <strong>extends</strong> when a case there has all of its steps in order and this one adds some; <strong>differs</strong> or <strong>similar</strong> as for linked cases; otherwise <strong>created</strong>. Nothing is written to an existing case until you agree. For reuse the agent offers <code>link_test_case</code>, which shows each case with the other stories it tests and asks before linking. For extends it offers <code>update_test_case</code> with only the added steps (<code>insert</code>): the question shows just those steps and where they go, links the case to the story in the same answer, and names the other stories the case tests, since the change applies to them too; when the old steps must stay for those, the agent saves your case as a new one instead. A case is linked only when it is a test case of the story's project (in Jira, or of the project its <code>test_cases</code> names), at most 20 at once. With no <code>test_cases</code>, only the cases linked to the story are compared. Settings › Integrations has the same field for each system.</p>
|
|
357
|
+
<p>More of managing test cases, each set in <code>forgeqe.yaml</code> (and Settings › Integrations):</p>
|
|
358
|
+
<ul>
|
|
359
|
+
<li><strong>Where new cases go.</strong> When <code>test_cases</code> maps a story to a suite (<code>plan=12/suite=34</code>), new Azure DevOps cases are added to that suite, and run from it, so their results are recorded as a test run in the plan rather than as comments. Other systems: <code>save_test_cases</code> writes Xray tests with their steps in Xray (<code>sources.xray.save_steps: true</code>, Cloud and Server/DC), TestRail cases in <code>sources.testrail.section_id</code> with the story in refs, and Zephyr Scale cases (in <code>sources.zephyr.folder_id</code>) linked to the Jira story. qTest is not written to: linking a case to a story there goes through qTest requirements and its Jira integration.</li>
|
|
360
|
+
<li><strong>Fields on new cases.</strong> <code>new_cases</code> gives every new case a priority, tags or labels, and in Azure DevOps a state: <code>state: Design</code> makes each case wait for a person to mark it Ready. The agent may give a case its own priority and tags.</li>
|
|
361
|
+
<li><strong>Shared steps and data.</strong> <code>sources.azure_devops.shared_steps</code> lists Shared Steps work items; a new case that has their steps in a row refers to them instead of copying them. A case run with several sets of data gets parameters (<code>@user</code>) and a data table.</li>
|
|
362
|
+
<li><strong>Cases left behind by a story change.</strong> <code>story_test_cases</code> reads the story's history and marks the linked cases last changed before its title, description or acceptance criteria were (stale), with what changed. The agent offers to update each one the change affects, or to retire one that tests behaviour the story no longer has.</li>
|
|
363
|
+
<li><strong>Retiring a case.</strong> <code>retire_test_case</code> asks first, then closes it (Azure DevOps <code>retire_state</code>; by default a state the project itself calls done, so a workflow that ends in <em>Verified</em> or <em>Shipped</em> needs no setting) or labels it (Jira <code>retire_label</code>, default obsolete), with the reason. Nothing is deleted, and retired cases are not offered for reuse.</li>
|
|
364
|
+
<li><strong>Duplicates before saving.</strong> <code>check_test_cases</code> with <code>against</code> (a story) compares the cases with the story's linked cases and its scope: the same steps is a duplicate naming the existing case, more steps or a close title an overlap.</li>
|
|
365
|
+
<li><strong>Cases with no story.</strong> Cases written from a page, a spec or a file are saved in an Azure DevOps area path or a Jira or Zephyr Scale project you name, compared with that area's or project's scope.</li>
|
|
366
|
+
<li><strong>The feature's other stories.</strong> <code>sibling_cases: true</code> also compares with the cases of the other stories under the story's feature or epic (the first 30 stories; in Jira, the parent field Jira Cloud uses for epics).</li>
|
|
367
|
+
<li><strong>Automation on Jira and Xray.</strong> A test that passes for a Jira or Xray case labels it <code>automated</code> and records the test on the issue, as Azure DevOps cases get their Associated Automation; a comment is added only when the test is new.</li>
|
|
368
|
+
<li><strong>Release readiness in Jira.</strong> <code>release_readiness</code> with <code>system: jira</code> reads a sprint, a fix version, an epic or story keys: each story's tests, which are automated, their last results (ForgeQE's runs, Xray test runs and Zephyr Scale executions, the newest of them), open bugs by priority, and the same verdict.</li>
|
|
369
|
+
<li><strong>Matching by steps.</strong> Saving keeps an index of the scope's cases in <code>.forgeqe/cases-index/</code> (git-ignored): every case's steps read once, then only those changed since, 40 per save. A case with the same steps is found whatever its title, and a slightly reworded step still counts for extends.</li>
|
|
370
|
+
<li><strong>Several changes at once.</strong> <code>apply_case_changes</code> links, extends, updates and retires several cases with one question, every change checked and read first.</li>
|
|
371
|
+
<li><strong>What ForgeQE changed.</strong> Every case it creates, links, updates or retires is logged in <code>.forgeqe/history/case-changes.jsonl</code>; <code>story_test_cases</code> and the readiness report list the changes for their stories.</li>
|
|
372
|
+
<li><strong>Acceptance criteria traced to cases.</strong> Saved cases carry the criteria they cover (<code>covers</code>), and <code>trace_criteria</code> records which linked cases cover which; <code>story_test_cases</code> lists each criterion with its cases, and readiness names the criteria no traced case covers.</li>
|
|
373
|
+
<li><strong>Healing and test cases.</strong> When healing fixes a test because the application changed, it names the test cases that test automates (heal.md, Test cases to review), and the agent offers to update their steps.</li>
|
|
374
|
+
<li><strong>From Requirements Agent.</strong> Requirements Agent writes <code>requirements.json</code> next to its report; <code>requirements_file</code> reads it, and the agent writes a case per requirement, traced by its id (FR-001).</li>
|
|
375
|
+
<li><strong>qTest, TestRail and Zephyr Scale.</strong> Cases are saved in qTest (<code>module_id</code>, linked to the story's requirement), retired in TestRail (moved to <code>retired_section_id</code>) and Zephyr Scale (status Deprecated), and marked automated (TestRail's <code>automation_field</code>, Zephyr Scale's <code>automated</code> label). Sibling stories on Jira Server are found through Epic Link.</li>
|
|
376
|
+
<li><strong>Settings checks.</strong> A <code>test_cases</code>, <code>new_cases</code> or retire setting ForgeQE would refuse when saving cases is refused when Settings saves it, with the setting named. In a saved Azure DevOps or Jira connection, <strong>Try</strong> beside each <code>test_cases</code> line says how many cases it finds, with a few of their titles.</li>
|
|
377
|
+
<li><strong>The Test cases page</strong> (<code>forgeqe web</code>, Test cases): open a story by its system and id to see its linked cases (those older than the story's last change marked), its acceptance criteria with the cases traced to each, what ForgeQE changed, and the changes <code>save_test_cases</code> proposed. Tick the ones to make, review them, and Apply: the server checks every change again and nothing is written before Apply.</li>
|
|
378
|
+
</ul>
|
|
379
|
+
<p>With <code>sources.write_back: true</code> (the default), results go back after the suite:</p>
|
|
380
|
+
<ul>
|
|
381
|
+
<li><strong>Azure DevOps plan:</strong> a completed test run for the plan with each test point's outcome and the agent's summary as the comment. Cases read by id get a comment on the work item instead.</li>
|
|
382
|
+
<li><strong>Jira:</strong> a comment on each issue with the result, the summary, where the run ended, and the test file if one was written.</li>
|
|
383
|
+
<li><strong>Xray:</strong> one Test Execution per test plan (linked to the plan), with each test's status, step statuses and actual results, the summary, and the failure screenshot as evidence.</li>
|
|
384
|
+
<li><strong>TestRail:</strong> results in the run the cases came from, or a new run per suite for cases read by id, with step results and the failure screenshot attached.</li>
|
|
385
|
+
<li><strong>Zephyr Scale:</strong> a test execution per case with step results, in the cycle the cases came from or a new cycle per project.</li>
|
|
386
|
+
<li><strong>qTest:</strong> an automation test log per case with step logs, on the test run it came from, or on new test runs in a new test cycle.</li>
|
|
387
|
+
</ul>
|
|
388
|
+
<p>Every comment and result includes the step verdicts. If a system rejects the step details (a TestRail project without separated steps, say), ForgeQE posts the result again without them rather than losing it. Stopped cases are never posted. <code>--no-write-back</code> skips it for one suite.</p>
|
|
389
|
+
</div>
|
|
390
|
+
</section>
|
|
391
|
+
<section class="doc" id="doc-how_to_use-bugs-for-failures">
|
|
392
|
+
<h4>Bugs for failures</h4>
|
|
393
|
+
<div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
394
|
+
</span></span><span class="ln"><span class="cmd"> bugs:
|
|
395
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> system: jira</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or azure_devops
|
|
396
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> project: SHOP</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Jira project key; Azure DevOps uses azure_devops.project
|
|
397
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> type: Bug</span><span class="pad"> </span><span class="cm"><span class="h">#</span> issue type or work item type
|
|
398
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> labels: [forgeqe]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Jira labels or Azure DevOps tags
|
|
399
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> area_path: Shop\Web # Azure DevOps
|
|
400
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> on_error: true # also for cases that could not run
|
|
401
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> group_by: defect # defect (default): cases failing the same way share a bug; case: a bug per case
|
|
402
|
+
</span></span></code></pre></div>
|
|
403
|
+
<p>When results are posted, each case that failed with a functional defect (below) gets a bug: the title is <code>[ForgeQE] <case id>: <title></code>, the description has the result, the steps with verdicts, the preconditions, where the run ended, the build link, and the run folder, and the last screenshot is attached. In Jira the bug is linked to the Jira or Xray test ("relates to"); in Azure DevOps it is "tested by" the test case work item. Each bug carries a label or tag that fingerprints the case (<code>forgeqe-</code> and ten hex digits), so the next failure comments "Still failing" on the open bug instead of filing a new one, and a pass adds a note that it passes again. A closed bug is not reopened: a new failure after that files a new bug, titled <code>[ForgeQE] Regression: …</code>, that says when the old one was closed and links to it (Jira "relates to", Azure DevOps "Related", a mention on GitHub; a GitHub issue closed as not planned does not count).</p>
|
|
404
|
+
<p><strong>One bug per defect.</strong> Cases that fail the same way share one bug (<code>group_by: defect</code>, the default). ForgeQE gives each failing case a signature from the strongest evidence its run recorded: a failed request (a 5xx before a 4xx) by its route and status, then an uncaught page error, then a console error, with ids, numbers and times taken out, so <code>POST /api/cart/123 → 500</code> and <code>/api/cart/456 → 500</code> match. Errors that the suite's passing runs show too (an analytics call, a missing favicon) are noise and do not count. The first case of a defect files the bug, titled after the defect (<code>[ForgeQE] shop.example.com/api/cart/:id returns 500</code>) and labelled with the defect's fingerprint (<code>forgeqe-d-</code> and ten hex digits) as well as the case's; every other case failing the same way is added as a comment and gets its own case label on that bug. The next run finds the open bug by either label. A failure with no browser evidence is matched by its page and what the agent saw, within one run only, and its bug is titled after the case as before. <code>group_by: case</code> files one bug per failing case. The report's <strong>Defects</strong> page, the terminal summary and the CI job summary list every defect with the cases it breaks.</p>
|
|
405
|
+
<p><strong>Defect history.</strong> Each suite adds its defects to <code>defect-history.json</code> next to the suite folders (keep it between CI runs as a cache, like the suite folders, to track a pipeline's defects). A defect is <strong>new</strong> the first time, then <strong>known</strong> ("seen in 3 earlier runs since 2 Oct"). It <strong>went away</strong> when a run did not see it while a case it broke passed; seen again after that, or matching a closed bug in the tracker, it is a <strong>regression</strong>. A defect whose cases keep changing between passing and failing across the last 20 suites (pass, fail, pass) is marked <strong>intermittent</strong>: it still gets a bug, which says so. When a new bug is filed, ForgeQE also searches the tracker once for open bugs people filed about the same route or error (<code>/api/cart</code>, <code>price is undefined</code>) and lists them on the bug as possibly related; it never merges them. Only defects found by browser evidence are kept in the history: a defect matched by the agent's words gets new words every run. The Defects page shows the history and filters new defects and regressions; the summaries say it next to each defect.</p>
|
|
406
|
+
<p><strong>Reproducing and root cause.</strong> Each defect gets a repro file, <code>defects/<defect id>.md</code> in the suite folder, and the same steps go in its bug: how reproducible it is, the case's steps with the agent's verdicts, what the browser did, where it ended, the environment (browser, device, build, commit), the failing request as a <code>curl</code> command with its response (the engine takes credentials out of the requests it records), and the run's files (screenshot, replay flow, every step, every API call). The first case of a new product defect runs once more into its <code>reproduce/</code> folder: failing the same way makes it <strong>always</strong> reproducible, not failing again makes it <strong>intermittent</strong>; a defect seen in earlier runs is not run again. Then the root cause, always as a hypothesis:</p>
|
|
407
|
+
<ul>
|
|
408
|
+
<li>From the evidence, at no cost: the layer (the server, the front end, access, a route that is not there, the environment) and the component (the route or the script).</li>
|
|
409
|
+
<li>With <code>defects.product_repo</code> set: <strong>suspect commits</strong>, made since the defect's cases last passed, whose changes mention its route or error (<code>git log -G</code>), or whose files are named after it.</li>
|
|
410
|
+
<li>For new defects and regressions, a read-only agent (prompt <code>defect-rca</code>) reads the evidence, the suspect commits and the product's code, and writes a hypothesis with its confidence (high only when it read the code that fails and the change that broke it), what it rests on, and checks to confirm it. The hypothesis is added to the bug as a comment and shown on the Defects page. It runs for at most <code>max_analyses</code> defects per suite; each is one agent session (about 90K–120K tokens with gpt-5.4 in our runs), shown on its own line under Usage.</li>
|
|
411
|
+
</ul>
|
|
412
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">defects:
|
|
413
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> product_repo: ../shop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the application's repository: suspect commits, and the code the analysis reads
|
|
414
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> reproduce: true # run the first case of each new defect once more
|
|
415
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> analyze: true # a model writes a root-cause hypothesis for new defects and regressions
|
|
416
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> max_analyses: 3 # most analyses per suite
|
|
417
|
+
</span></span></code></pre></div>
|
|
418
|
+
</div>
|
|
419
|
+
</section>
|
|
420
|
+
</div>
|
|
421
|
+
</article>
|
|
422
|
+
<article class="spec feat" id="cap-test-case-quality">
|
|
423
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Check and improve test cases</h3></div>
|
|
424
|
+
<p class="ds">Checks test cases before they run (vague or missing expected results, missing test data, placeholders, duplicates) against the story, feature, and epic they test, then rewrites Azure DevOps or Jira cases in place once the user agrees.</p>
|
|
425
|
+
<div class="facts">
|
|
426
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Are the cases in test plan 12 good enough to run?</li><li>Fix the expected results of case 4512</li></ul></div>
|
|
427
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to rewrite cases in place: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
|
|
428
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>check_test_cases</code> <code>update_test_case</code> <code>retire_test_case</code></p></div>
|
|
429
|
+
</div>
|
|
430
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
431
|
+
<section class="doc" id="doc-how_to_use-checking-test-cases-before-they-run">
|
|
432
|
+
<h4>Checking test cases before they run</h4>
|
|
433
|
+
<div class="prose"><p><code>run_test_cases</code> checks the cases before it runs them, and <code>check_test_cases</code> checks them without running anything ("are these test cases ready?", "check test plan 12 against its stories"). A check uses everything ForgeQE can know about a case:</p>
|
|
434
|
+
<div class="tbl tbl--cols-3"><table>
|
|
435
|
+
<thead>
|
|
436
|
+
<tr><th>Source</th><th>What it finds</th><th>Cost</th></tr>
|
|
437
|
+
</thead>
|
|
438
|
+
<tbody>
|
|
439
|
+
<tr><td data-label="Source">Rules on the case's text</td><td data-label="What it finds">No steps or expected results; vague expected results ("works correctly", "submitted successfully"); steps that need values the case does not give ("enter valid user details"); placeholders (<code>TBD</code>, <code><username></code>); passwords in the case; several actions in one step; no start page; duplicate cases</td><td data-label="Cost">None</td></tr>
|
|
440
|
+
<tr><td data-label="Source">Page memory</td><td data-label="What it finds">Steps that name a field or control earlier runs never saw on that page ("email" on a form that has no email field), with what the page does have</td><td data-label="Cost">None</td></tr>
|
|
441
|
+
<tr><td data-label="Source">The requirements it tests</td><td data-label="What it finds">Azure DevOps: the story or PBI the case tests ("Tests" link), then its feature and epic, with descriptions and acceptance criteria. Jira: the issues the test is linked to, then their parents</td><td data-label="Cost">A few API calls, each requirement read once per check</td></tr>
|
|
442
|
+
<tr><td data-label="Source">Linked documents</td><td data-label="What it finds">Confluence pages linked from the case or its requirements</td><td data-label="Cost">A few API calls</td></tr>
|
|
443
|
+
<tr><td data-label="Source">A RAG service (optional)</td><td data-label="What it finds">Passages your own search finds for the case</td><td data-label="Cost">Your service</td></tr>
|
|
444
|
+
</tbody>
|
|
445
|
+
</table></div>
|
|
446
|
+
<p>Each case is <strong>ready</strong>, <strong>to review</strong>, or <strong>not runnable</strong>, shown as a card with what it tests (<code>tests PBI 2211 "Contact Us form" ← Feature 300 ← Epic 12</code>) and the acceptance criteria no step seems to cover. ForgeQE's agent then judges each case against its requirements: criteria no step covers, steps no requirement asks for, expected results that contradict the requirement, controls the application does not have. The check before a run uses the rules and page memory only (no reads); <code>check_test_cases</code> with <code>depth: quick</code> does the same.</p>
|
|
447
|
+
<p><strong>RAG, plug and play.</strong> Point <code>forgeqe.yaml</code> at any search service over your requirements (Confluence, a wiki, specs) and the check adds its passages:</p>
|
|
448
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">rag:
|
|
449
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> url: http://localhost:8080/search</span><span class="pad"> </span><span class="cm"><span class="h">#</span> POST {"query": "...", "top_k": 5}; answers a list of {text, source, score}
|
|
450
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> token_env: RAG_TOKEN</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional, sent as a bearer token
|
|
451
|
+
</span></span><span class="ln"><span class="cmd"> top_k: 5
|
|
452
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> or a local command: gets {"query", "top_k"} on stdin, prints the list on stdout
|
|
453
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> rag:
|
|
454
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> command: ["python", "rag/search.py"]
|
|
455
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> or ForgeQE's own search of the project's documents, no vectors (Searching your documents, without vectors)
|
|
456
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> rag:
|
|
457
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> documents: { folders: [docs/requirements], reasoning: false }
|
|
458
|
+
</span></span></code></pre></div>
|
|
459
|
+
<p>The answer can also be an object with <code>results</code>, <code>passages</code>, <code>documents</code>, or <code>hits</code>, and a passage's text can be <code>text</code>, <code>content</code>, or <code>page_content</code> (LangChain's shape). A RAG server with an MCP interface works through <code>mcp:</code> instead: ForgeQE's agent calls its tools.</p>
|
|
460
|
+
<p><code>suite.case_check</code> decides what happens before a run: <code>warn</code> (the default) shows the findings and runs every case, <code>block</code> leaves out the cases that cannot run as written, <code>off</code> skips the check. Ask to run a case and it runs, whatever the check found; ForgeQE's agent reports the findings with the result instead of refusing. A case whose steps have no expected results runs too: it passes when every step can be done, and the check lists it <strong>to review</strong>, since it checks no result the page should show.</p>
|
|
461
|
+
</div>
|
|
462
|
+
</section>
|
|
463
|
+
</div>
|
|
464
|
+
</article>
|
|
465
|
+
<article class="spec feat" id="cap-write-test-cases">
|
|
466
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Write test cases from a story</h3></div>
|
|
467
|
+
<p class="ds">Writes test cases from an understanding of the feature, not only a story's acceptance criteria: it reads the feature and epic above the story, their other stories, linked Confluence pages, the RAG service, product knowledge, the app's pages and flows in page memory, and the area's past defects (from earlier runs and the tracker's bugs), then analyses each criterion before it designs cases. Each case names what it covers, and nothing is saved while a criterion has no case or reason. Saves them in Azure DevOps or Jira, linked to the story. Reads the cases already linked first, so asking again adds only what is missing and updates cases in place instead of duplicating them; plans end-to-end journeys from the existing cases.</p>
|
|
468
|
+
<div class="facts">
|
|
469
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write test cases for story 1234 and save them</li><li>Build an end-to-end journey from story 1234's cases</li></ul></div>
|
|
470
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>Azure DevOps or Jira: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
|
|
471
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>story_test_cases</code> <code>save_test_cases</code> <code>link_test_case</code> <code>apply_case_changes</code> <code>trace_criteria</code> <code>requirements_file</code> <code>e2e_journey</code></p></div>
|
|
472
|
+
</div>
|
|
473
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
474
|
+
<p class="see">See <a href="#doc-how_to_use-where-cases-come-from">Where cases come from</a>.</p>
|
|
475
|
+
</div>
|
|
476
|
+
</article>
|
|
477
|
+
<article class="spec feat" id="cap-domain-compliance">
|
|
478
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Domain and regulatory test design</h3></div>
|
|
479
|
+
<p class="ds">Every agent works as an expert in the product's industry would, automatically: the risks the industry is known for and the obligations of its regulations and standards (for example DORA, PSD2, GDPR, ISO 27001), declared in forgeqe.yaml or worked out from the story and the application. It applies to analysing requirements, writing and checking test cases, exploration, writing, reviewing, and healing test code, API tests, finding tests, and pull request reviews, labelled so coverage can be traced and citing only the control ids in the team's compliance file. forgeqe eval domain measures how well the agent does it.</p>
|
|
480
|
+
<div class="facts">
|
|
481
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write test cases for story 1234, covering our DORA and PSD2 obligations</li><li>Which GDPR obligations do these cases miss?</li></ul></div>
|
|
482
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The product's industry and regulations: domain: in forgeqe.yaml, with your applicable controls in .forgeqe/knowledge/compliance.md</span></li></ul></div>
|
|
483
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Designs and checks tests for regulatory obligations; it does not certify compliance or replace an audit.</li><li>Cites control or article ids only from the team's compliance file, never from memory.</li></ul></div>
|
|
484
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"></p></div>
|
|
485
|
+
</div>
|
|
486
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
487
|
+
<section class="doc" id="doc-how_to_use-16-domain-and-regulations">
|
|
488
|
+
<h4>Domain and regulations</h4>
|
|
489
|
+
<div class="prose"><p>ForgeQE's agents already know the common industries and regulations: banking, insurance, lending, retail; DORA, PSD2, GDPR, ISO 27001, SOX, IDD, and more. Every agent applies that knowledge to its own job, automatically: analysing requirements, writing and checking test cases, planning exploration, writing test code (Quill), reviewing it, healing it, writing and planning API tests, finding tests, and reviewing pull requests. Without a declaration, each works out the industry and regulations from the story, the product knowledge, and the application, and says what it assumed. Declaring yours removes the guesswork:</p>
|
|
490
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">domain:
|
|
491
|
+
</span></span><span class="ln"><span class="cmd"> industry: retail banking
|
|
492
|
+
</span></span><span class="ln"><span class="cmd"> regulations: [DORA, PSD2, GDPR, ISO 27001]
|
|
493
|
+
</span></span><span class="ln"><span class="cmd"> notes: Payments to UK and EU accounts; customers are consumers and small businesses.
|
|
494
|
+
</span></span></code></pre></div>
|
|
495
|
+
<p>The agents add the risks the industry is known for (duplicate submissions, limits, cut-off times, effective dates, recalculated premiums) and the obligations of each regulation a feature touches (audit trail, segregation of duties, data protection, incident logging, resilience), and label each test case, charter, test, or finding with what it covers, for example <code>Domain: duplicate payment</code> or <code>GDPR: right to erasure</code>. What that means for each job:</p>
|
|
496
|
+
<div class="tbl tbl--cols-2"><table>
|
|
497
|
+
<thead>
|
|
498
|
+
<tr><th>Agent</th><th>What it does with the domain</th></tr>
|
|
499
|
+
</thead>
|
|
500
|
+
<tbody>
|
|
501
|
+
<tr><td data-label="Agent">ForgeQE's agent</td><td data-label="What it does with the domain">Adds domain and regulatory cases when it writes test cases or tests from requirements, and judges cases and release readiness against them</td></tr>
|
|
502
|
+
<tr><td data-label="Agent">Exploratory charters</td><td data-label="What it does with the domain">Plans charters for the domain's risks and obligations</td></tr>
|
|
503
|
+
<tr><td data-label="Agent">Quill (writing tests)</td><td data-label="What it does with the domain">Asserts a covered risk or obligation explicitly (the amount, the approval, the audit entry), and carries its label into the test's name or tag</td></tr>
|
|
504
|
+
<tr><td data-label="Agent">Test reviewer</td><td data-label="What it does with the domain">Treats a test that drops or weakens such an assertion as a correctness issue</td></tr>
|
|
505
|
+
<tr><td data-label="Agent">Healing</td><td data-label="What it does with the domain">Never makes a test pass by loosening such an assertion: if the app no longer meets it, it is an app bug</td></tr>
|
|
506
|
+
<tr><td data-label="Agent">API tests and scenarios</td><td data-label="What it does with the domain">Idempotent money-moving calls, access per role, no excess personal data in responses, no leaked internals, audited changes</td></tr>
|
|
507
|
+
<tr><td data-label="Agent">Finding tests</td><td data-label="What it does with the domain">"The DORA tests" matches tests by their labels and what they assert</td></tr>
|
|
508
|
+
<tr><td data-label="Agent">Pull request review</td><td data-label="What it does with the domain">A change that weakens a domain safeguard or an obligation is at least a major finding</td></tr>
|
|
509
|
+
</tbody>
|
|
510
|
+
</table></div>
|
|
511
|
+
<p>Every agent session gets the domain in its instructions from one place, and the rule is <code>domain-rule.md</code> in <code>.forgeqe/prompts/</code>, included in every agent that analyses requirements or designs, writes, reviews, or heals tests.</p>
|
|
512
|
+
<p>Which requirements apply to your product, and the ids your auditors use, are your organisation's decision: list them in <code>.forgeqe/knowledge/compliance.md</code> (<code>forgeqe init</code> adds a template), with what is out of scope. Agents cite a control, article, or clause id only when it is listed there, and name the obligation in words otherwise, so nothing in a test traces to an id recalled from memory. ForgeQE designs and checks tests for these obligations; it does not certify compliance or replace an audit.</p>
|
|
513
|
+
</div>
|
|
514
|
+
<section class="doc sub" id="doc-how_to_use-evaluating-the-agents-domain-knowledge"><h5>Evaluating the agent's domain knowledge</h5><div class="prose"><p><code>forgeqe eval domain</code> measures whether the agent applies all this, with your model. Each evaluation case is a realistic story whose acceptance criteria leave the industry's risks and the regulations' obligations unstated, with what a domain expert expects its test cases to check. ForgeQE's own agent writes test cases for each story twice, with the domain declared (and a compliance file) and without, and a separate read-only judge decides, expectation by expectation, whether a test case actually checks it, and lists every id the cases cite.</p>
|
|
515
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe eval domain</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the bundled cases: banking, insurance, access control, data protection, lending
|
|
516
|
+
</span></span><span class="ln"><span class="cmd">forgeqe eval domain --only banking-payment-transfer --repeat 3
|
|
517
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe eval domain --cases ./evals/our-domain</span><span class="pad"> </span><span class="cm"><span class="h">#</span> your own cases
|
|
518
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe eval domain --judge-profile judge</span><span class="pad"> </span><span class="cm"><span class="h">#</span> judge with another llms.json profile
|
|
519
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe eval domain --variant declared --min 0.8</span><span class="pad"> </span><span class="cm"><span class="h">#</span> exit 1 under 80% coverage, or on any invented id: a CI gate
|
|
520
|
+
</span></span></code></pre></div>
|
|
521
|
+
<p>The report (<code>.forgeqe/reports/evals/domain/<time>/report.md</code> and <code>report.json</code>) shows coverage of the story's own expectations, the industry's, and the regulations', for each variant, the expectations each run missed with the judge's reason, and any invented ids (cited, but not in the compliance file). The gap between the two variants is what declaring the domain adds; the declared coverage is what you can rely on. Model answers vary, so use <code>--repeat</code> before drawing conclusions from one case.</p>
|
|
522
|
+
<p>A case is a YAML file:</p>
|
|
523
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">id: banking-payment-transfer
|
|
524
|
+
</span></span><span class="ln"><span class="cmd">title: Send money to a saved beneficiary
|
|
525
|
+
</span></span><span class="ln"><span class="cmd">domain: { industry: retail banking, regulations: [PSD2, DORA, GDPR] }
|
|
526
|
+
</span></span><span class="ln ln--pair"><span class="cmd">compliance: |</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the team's compliance file for this product (optional)
|
|
527
|
+
</span></span><span class="ln"><span class="cmd"> - CTL-AUD-01 (DORA): every payment is written to the audit log with who, when, and the values.
|
|
528
|
+
</span></span><span class="ln"><span class="cmd">story:
|
|
529
|
+
</span></span><span class="ln"><span class="cmd"> title: Pay a saved beneficiary
|
|
530
|
+
</span></span><span class="ln"><span class="cmd"> description: As a customer I want to send money to a beneficiary I saved earlier.
|
|
531
|
+
</span></span><span class="ln"><span class="cmd"> acceptance: |
|
|
532
|
+
</span></span><span class="ln"><span class="cmd"> - The customer picks a saved beneficiary, enters an amount and a reference, and confirms.
|
|
533
|
+
</span></span><span class="ln ln--pair"><span class="cmd">expect:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> source: story, domain, or regulation
|
|
534
|
+
</span></span><span class="ln"><span class="cmd"> - { id: duplicate, source: domain, covers: Submitting twice does not create a second payment. }
|
|
535
|
+
</span></span><span class="ln"><span class="cmd"> - { id: sca, source: regulation, covers: Confirming the payment requires strong customer authentication. }
|
|
536
|
+
</span></span></code></pre></div>
|
|
537
|
+
<hr />
|
|
538
|
+
</div></section>
|
|
539
|
+
</section>
|
|
540
|
+
</div>
|
|
541
|
+
</article>
|
|
542
|
+
<article class="spec feat" id="cap-exploratory-testing">
|
|
543
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Exploratory testing of a story</h3></div>
|
|
544
|
+
<p class="ds">Explores a story in real browsers beyond its scripted cases (edge cases, invalid input, boundaries, roles, state), confirms each defect by reproducing it, proposes test cases, and files bugs once the user agrees.</p>
|
|
545
|
+
<div class="facts">
|
|
546
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Explore story 1234 and find bugs</li><li>Test this feature beyond the test cases</li></ul></div>
|
|
547
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to read the story and file bugs: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
|
|
548
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>explore_story</code></p></div>
|
|
549
|
+
</div>
|
|
550
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
551
|
+
<section class="doc" id="doc-how_to_use-exploratory-testing-from-a-story">
|
|
552
|
+
<h4>Exploratory testing from a story</h4>
|
|
553
|
+
<div class="prose"><p>"Explore story 1234" (or <code>forgeqe explore ado:1234</code>) tests a story's feature beyond its scripted test cases, in real browsers:</p>
|
|
554
|
+
<ol>
|
|
555
|
+
<li><strong>Reads the story:</strong> description and acceptance criteria, the feature and epic above it, the test cases that already script it (Azure DevOps "Tested By", Jira test links), and passages from the requirements search when one is set up. A Jira key, a link, or the story's text with its acceptance criteria works too.</li>
|
|
556
|
+
<li><strong>Plans charters</strong> (6 by default, <code>--charters N</code>, at most 12), each with a mission, concrete steps and data, and an expected result per step: other paths and valid data, edge cases (empty, long, special characters, duplicates), invalid input, the boundaries the story states, <strong>role differences</strong>, state (refresh, back, double submit, a second tab, an expired session), and what must not happen. Expected results come from the acceptance criteria; where the story says nothing, from what a well-behaved application does, and the charter says so. Nothing irreversible beyond test data is planned, and charters that create or change data are marked. You see the charters and choose to run them all, only those that change no data, or none.</li>
|
|
557
|
+
<li><strong>Explores:</strong> each charter is a browser run, and the browser agent judges each expected result on the page and lists anything else that looks wrong. <strong>Roles</strong> are your saved logins (<code>logins:</code> in <code>forgeqe.yaml</code>; by default every one when there are two or more, or <code>--roles admin,viewer</code>): a role's charter signs in with only that role's login on the site.</li>
|
|
558
|
+
<li><strong>Confirms:</strong> a charter that finds a functional defect runs a second time. It counts as a <strong>confirmed defect</strong> only when it fails the same way again. The failure classification decides what is a defect: an environment problem (run once more), a test that could not be done, or a charter that does not fit the application are reported as "could not explore", not as defects.</li>
|
|
559
|
+
<li><strong>Reports</strong> in <code>.forgeqe/reports/explore/<id>/exploration.md</code> (and <code>.json</code>): each charter's result, the confirmed defects with both runs' evidence, and <strong>observations</strong>: defects that did not reproduce, browser errors (failed requests, console errors), and what the agent noticed beyond the steps. Observations are never filed as bugs.</li>
|
|
560
|
+
<li><strong>Bugs for confirmed defects only</strong>, through the bug tracker set up under <code>bugs:</code> (Jira or Azure DevOps), after you agree (<code>--file-bugs</code> where nobody can be asked). A bug filed before for the same charter gets a comment instead of a duplicate.</li>
|
|
561
|
+
<li><strong>Proposed test cases:</strong> the charters that ran clean become regression cases, and each confirmed defect becomes a case that checks the correct behaviour (it fails until the defect is fixed). The agent offers to save the ones you pick to the story (<code>save_test_cases</code>).</li>
|
|
562
|
+
</ol>
|
|
563
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe explore ado:1234 --url https://staging.shop.example/orders
|
|
564
|
+
</span></span><span class="ln"><span class="cmd">forgeqe explore SHOP-12 --charters 8 --roles shop_admin,shop_viewer --focus "the address form"
|
|
565
|
+
</span></span><span class="ln"><span class="cmd">forgeqe explore "Change the delivery address
|
|
566
|
+
</span></span><span class="ln"><span class="cmd">Customers can change the address of an open order.
|
|
567
|
+
</span></span><span class="ln"><span class="cmd">Acceptance criteria:
|
|
568
|
+
</span></span><span class="ln"><span class="cmd">- Postcode is required and validated" --url https://staging.shop.example
|
|
569
|
+
</span></span></code></pre></div>
|
|
570
|
+
<p>Each charter is a browser run (two for a possible defect), so a session takes several minutes and costs about as much as running that many test cases. <code>forgeqe explore</code> exits 1 when a defect is confirmed.</p>
|
|
571
|
+
<p>A session can have a time limit (<code>--max-minutes N</code>, the tool's <code>max_minutes</code>): at it, the charter running stops, the rest are marked stopped, and what ran is saved. The <strong>Exploratory</strong> page of <code>forgeqe web</code> always asks for a goal, a cap on the charters and a time limit, and lets you choose which planned charters run. A job can run one on a schedule, and must have both a goal and a time limit: <code>jobs add</code> with <code>["explore", "--url", URL, "--max-minutes", "30", "--", "Try to break checkout"]</code>.</p>
|
|
572
|
+
</div>
|
|
573
|
+
</section>
|
|
574
|
+
</div>
|
|
575
|
+
</article>
|
|
576
|
+
<article class="spec feat" id="cap-business-personas">
|
|
577
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Business personas for testing</h3></div>
|
|
578
|
+
<p class="ds">Personas that test the software the way the business would: a subject matter expert (a payments SME who checks refunds, settlement cut-offs and currency rounding), an end user, a specialist (compliance) or a business user (an operations manager with approval limits). Mask drafts a new one from your words; any agent then acts as it in a browser run, designs test cases from what it validates, or reviews a feature through its eyes. Kept in the project for every agent.</p>
|
|
579
|
+
<div class="facts">
|
|
580
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Create a persona of an SME in payments</li><li>Test the refund flow as a payments SME</li><li>Make a business persona for an operations manager who approves orders</li><li>Which business personas do we have?</li></ul></div>
|
|
581
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
|
|
582
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A persona is a description for agents to act on, not a real user: its checks come from its validates list and the domain the model knows</li><li>Saved only after you agree, as .forgeqe/business-personas/<id>.yaml; a persona never changes what an agent may do</li></ul></div>
|
|
583
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>business_persona</code></p></div>
|
|
584
|
+
</div>
|
|
585
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
586
|
+
<section class="doc" id="doc-how_to_use-business-personas">
|
|
587
|
+
<h4>Business personas</h4>
|
|
588
|
+
<div class="prose"><p>A <strong>business persona</strong> is a person who validates the software the way the business does: a <strong>subject matter expert</strong> (a payments SME who checks refunds, settlement cut-offs and currency rounding), an <strong>end user</strong> (an everyday customer, a first-time user), a <strong>specialist</strong> (a KYC and AML compliance reviewer) or a <strong>business user</strong> (an operations manager with approval limits). Each persona says who the person is, what they want, what they know, and above all <strong>what they check before they accept the software</strong> (<code>validates</code>). Any agent can use one:</p>
|
|
589
|
+
<ul>
|
|
590
|
+
<li><strong>Atlas</strong> makes personas too ("create a persona of an SME in payments"), with Mask, and acts as a persona in a browser run (the persona's brief goes at the start of the goal), designs test cases from what it validates, or reviews a feature through its eyes: "test the refund flow as a payments SME", "write test cases for checkout as a first-time user".</li>
|
|
591
|
+
<li><strong>Other agents</strong> (<code>forgeqe mcp</code> clients such as Claude Code or Copilot, and custom agents) call the <code>business_persona</code> tool: <code>op: list</code>, <code>op: get</code> (the persona and its brief), or <code>op: create</code>.</li>
|
|
592
|
+
<li><strong>A person</strong> at a terminal:</li>
|
|
593
|
+
</ul>
|
|
594
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe persona</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the personas: built in, and the project's
|
|
595
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe persona show payments-sme</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one persona and the brief agents act on
|
|
596
|
+
</span></span><span class="ln"><span class="cmd">forgeqe persona create "an SME in card payments who reconciles settlements" --domain payments --kind sme [--save]
|
|
597
|
+
</span></span></code></pre></div>
|
|
598
|
+
<p>Built in: <code>payments-sme</code> (<code>/priya</code>), <code>retail-customer</code> (<code>/sam</code>), <code>compliance-specialist</code> (<code>/dana</code>), <code>operations-manager</code> (<code>/lee</code>), <code>first-time-user</code> (<code>/alex</code>), and three risk-oriented personas for testing misuse on a test environment: <code>incentive-exploiter</code> (<code>/max</code>, an opportunistic deal hunter), <code>insider-agent</code> (<code>/rory</code>, a customer service agent who misuses refund and credit rights) and <code>partner-merchant</code> (<code>/morgan</code>, a marketplace merchant watching payout timing). <a href="#doc-how_to_use-basal-business-testing">BASAL</a> casts its own personas for each business test.</p>
|
|
599
|
+
<p>Besides what they know and check, a persona can say <strong>why they act</strong> (<code>intent</code>: <code>legitimate</code>, <code>opportunistic</code> or <code>adversarial</code>, with a <code>risk_appetite</code>), what drives them (<code>motivations</code>), what their role lets them do in the app (<code>permissions</code>), the limits they work within (<code>constraints</code>), the mistakes they plausibly make (<code>mistakes</code>) and who they deal with (<code>relationships</code>, by persona id). Each saved change raises its <code>version</code>.</p>
|
|
600
|
+
<p><strong>Every persona is a command in every agent's chat.</strong> Start a message with it and the task (<code>/priya Validate the payment change</code>), or name personas anywhere in the words (<code>check @steps.json as /sam and /priya</code>), up to four in one message; a word that names no persona, such as <code>/tmp</code>, stays as it is. It works in the terminal shell (typing <code>/</code> suggests the personas with the shell's commands), <code>forgeqe run "/priya …"</code>, every chat box of the web app (typing <code>/</code> at the start offers the personas) and a custom agent's chat. ForgeQE turns the command into the persona's brief, quoted as data, and your task after it, so the agent acts as that person, puts the brief at the start of its browser runs, and judges the app by what they check. A persona's command is its <code>handle</code> (its id when it has none): a word of lower-case letters, digits and dashes that is never one of the shell's own commands or another persona's.</p>
|
|
601
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe persona export --out personas.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> your own personas, as a file to share
|
|
602
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe persona import personas.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> another project's: new ones only, never replacing one here
|
|
603
|
+
</span></span></code></pre></div>
|
|
604
|
+
<p><strong>Sharing personas:</strong> Mask's page (Personas tab) has Export and Import, and so does <code>forgeqe persona export|import</code>. The file is JSON of the personas' fields. An import is checked as strictly as a persona file. The whole file is refused when any persona in it is refused, and a persona whose id or command this project already has is skipped and listed, never replaced.</p>
|
|
605
|
+
<p><strong>In the web app</strong>, Mask has three pages, linked at the top right of each: <strong>Agent</strong>, <strong>Personas</strong> and <strong>Tools and runs</strong>. On <strong>Agent</strong>, describe a person in your words ("a compliance officer who reviews every refund over 10,000 EUR") and the agent turns them into a persona in the conversation, shows it, and asks before saving it. <strong>Personas</strong> lists every persona by kind; open one to read what it checks in a side panel, with <strong>Edit</strong> for your own and <strong>Copy to edit</strong> for a built-in one. <strong>New persona</strong> there opens the same kind of panel: Mask drafts one from your words (or write it yourself), you change any field, and Save keeps it. To work as a persona, type its command and the task in any chat (<code>/priya Refund half of yesterday's order</code>).</p>
|
|
606
|
+
<p><strong>A persona's own skills and knowledge</strong> are used only when an agent works as that persona (its command in a chat), never by other agents: <code>.forgeqe/business-personas/<id>/skills/<name>/SKILL.md</code> and <code>.forgeqe/business-personas/<id>/knowledge/<name>.md</code>, a folder the skills list and the document search do not read. Mask drafts a skill and a knowledge note from the persona right after you save a new persona or a copy, and on <strong>Generate skill and knowledge</strong> in any persona's panel (a built-in one too); you review and change them, and nothing is saved until you press Save. Edit or remove them in the panel. A persona can also use the project's shared skills and documents, picked in <strong>Edit</strong>, with suggestions that match its domain.</p>
|
|
607
|
+
<p><strong>Mask</strong> (<code>forgeqe-persona</code>) drafts a new persona from your words: ask "create a persona of an SME in payments", or <code>op: create</code> with <code>request</code>. It has no tools and answers in a fixed shape; ForgeQE keeps only the persona's fields, checked. A draft is shown first and saved only when you agree (<code>--save</code> asks in a terminal; <code>save: true</code> asks in the shell and the web app). It needs a live model; without one, write the persona yourself.</p>
|
|
608
|
+
<p><strong>Your own personas</strong> are <code>.forgeqe/business-personas/<id>.yaml</code>, shared with everyone who uses the repository. Saving one also writes its profile as <code><id>.md</code> beside it, made from its fields, for people and agents that read the project's documents. The YAML is the persona; the <code>.md</code> is written again whenever the persona is saved:</p>
|
|
609
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">id: merchant-onboarding-sme
|
|
610
|
+
</span></span><span class="ln ln--pair"><span class="cmd">handle: omar</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its command in any agent's chat: /omar Validate the merchant onboarding change
|
|
611
|
+
</span></span><span class="ln"><span class="cmd">name: Omar, merchant onboarding SME
|
|
612
|
+
</span></span><span class="ln ln--pair"><span class="cmd">kind: sme</span><span class="pad"> </span><span class="cm"><span class="h">#</span> sme, end_user, specialist, business_user
|
|
613
|
+
</span></span><span class="ln"><span class="cmd">role: Merchant onboarding lead
|
|
614
|
+
</span></span><span class="ln"><span class="cmd">domain: payments
|
|
615
|
+
</span></span><span class="ln ln--pair"><span class="cmd">expertise: expert</span><span class="pad"> </span><span class="cm"><span class="h">#</span> novice, intermediate, expert
|
|
616
|
+
</span></span><span class="ln"><span class="cmd">description: Onboards new merchants and sets their fees and payout schedules.
|
|
617
|
+
</span></span><span class="ln"><span class="cmd">goals:
|
|
618
|
+
</span></span><span class="ln"><span class="cmd"> - onboard a merchant in one session
|
|
619
|
+
</span></span><span class="ln"><span class="cmd">knows:
|
|
620
|
+
</span></span><span class="ln"><span class="cmd"> - merchant category codes
|
|
621
|
+
</span></span><span class="ln"><span class="cmd"> - payout schedules and reserves
|
|
622
|
+
</span></span><span class="ln"><span class="cmd">validates:
|
|
623
|
+
</span></span><span class="ln"><span class="cmd"> - a merchant cannot take payments before KYC is approved
|
|
624
|
+
</span></span><span class="ln"><span class="cmd"> - the fee shown at onboarding is the fee charged on the first payout
|
|
625
|
+
</span></span><span class="ln"><span class="cmd">frustrations:
|
|
626
|
+
</span></span><span class="ln"><span class="cmd"> - having to enter the same company details twice
|
|
627
|
+
</span></span><span class="ln"><span class="cmd">scenarios:
|
|
628
|
+
</span></span><span class="ln"><span class="cmd"> - Onboard a merchant and take its first test payment
|
|
629
|
+
</span></span></code></pre></div>
|
|
630
|
+
<p>A persona file can come from the repository, so ForgeQE reads it strictly: only these keys, each choice from its list, no YAML aliases, every text one line and clipped, at most 12 items in a list, a regular file only (no link), and a text that reads as an instruction to an agent ("ignore the rules", "run this command") is refused. A persona only describes a person: it never changes what an agent may do. These personas are separate from the accessibility personas (<code>.forgeqe/personas</code>), which set how the browser perceives the page.</p>
|
|
631
|
+
</div>
|
|
632
|
+
</section>
|
|
633
|
+
</div>
|
|
634
|
+
</article>
|
|
635
|
+
<article class="spec feat" id="cap-basal">
|
|
636
|
+
<div class="hd"><span class="mono">Test cases</span><h3>BASAL: business testing that acts</h3></div>
|
|
637
|
+
<p class="ds">BASAL turns a business question (should we launch saved cards with a fee? are prices the same from list to cart before the sale?) into a test that ForgeQE's own agents play as the people it affects. It reads the question's brief and data with the product knowledge graph (Neo4j, by meaning) into a scenario: the decision, stakeholders, success criteria and facts, observed or inferred; writes a test strategy whose steps are on browser, API, mobile, desktop or a person; casts a persona for each stakeholder; rehearses their reactions on a feed; and, once a person approves, hands each step to WebPilot, the API workbench, the mobile or desktop agent as that persona on a test environment. Code judges each scenario from what the agents observed: confirmed failure, policy ambiguity, potential risk, missing evidence or expected behaviour.</p>
|
|
638
|
+
<div class="facts">
|
|
639
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Should we launch saved cards with a fee? Test how merchants, shoppers and support would really be affected</li><li>Before our weekend sale, test that prices stay the same from list to cart</li><li>Test our refunds and coupons the way an opportunistic customer would</li></ul></div>
|
|
640
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
|
|
641
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>It knows the product from the knowledge graph (forgeqe knowledge build) and the files you give it: what neither shows, it does not know</li><li>A person approves every strategy before anything runs; steps that change data run only after you agree, and only on a test environment of env.yaml</li><li>A rehearsal's posts are the personas' opinions, never evidence; a verdict comes only from what the agents observed</li></ul></div>
|
|
642
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>basal</code></p></div>
|
|
643
|
+
</div>
|
|
644
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
645
|
+
<section class="doc" id="doc-how_to_use-basal-business-testing">
|
|
646
|
+
<h4>BASAL: business testing</h4>
|
|
647
|
+
<div class="prose"><p><strong>BASAL</strong> tests a business decision the way real people meet it. Ask a business question with its brief ("Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected"), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (Quality Engineering › Test design › BASAL, its <strong>Tests</strong> tab):</p>
|
|
648
|
+
<ol>
|
|
649
|
+
<li><strong>Ask</strong>: the question, the files it rests on (a brief, survey data, policy extracts) and work items. On the page you give the question; files and work items are added at a terminal (<code>--file</code>, <code>--story</code>).</li>
|
|
650
|
+
<li><strong>Understand</strong>: the decision, its options, the stakeholders, the success criteria and the facts, read from the sources and the product knowledge graph (found by meaning in Neo4j). An item is <strong>observed</strong> only when its quote is in the source it names; otherwise it is <strong>inferred</strong>.</li>
|
|
651
|
+
<li><strong>Strategy</strong>: scenarios that decide the question, each step by a stakeholder on a channel ForgeQE's agents play (browser, API, mobile, desktop, a person, or opinion only), and the business expectations that judge it. Only stakeholders, apps, saved API calls and test environments the project has are kept; an expectation is <strong>policy</strong> only when it rests on an observed success criterion.</li>
|
|
652
|
+
<li><strong>Cast</strong>: one persona per stakeholder who acts: what they check, what they object to, the mistakes they bring.</li>
|
|
653
|
+
<li><strong>Rehearse</strong>: the cast react on a feed (post, comment, share, like) to the decision, to each other, and to what the agents saw on the product; what they want tried picks what to play next. Their posts are opinions, never evidence.</li>
|
|
654
|
+
<li><strong>Approve</strong>: nothing runs until a person approves the strategy (the test's id typed). An agent never approves.</li>
|
|
655
|
+
<li><strong>Act</strong>: each step goes to WebPilot, the API workbench, the mobile or desktop agent as its persona, on a test environment; a journey of one persona in one app is one handover. Steps that change data run only when you agree to the list shown. The operations board shows each handover as it happens.</li>
|
|
656
|
+
<li><strong>Judge</strong>: code judges each scenario from what was observed: <strong>confirmed failure</strong>, <strong>policy ambiguity</strong>, <strong>potential risk</strong>, <strong>missing evidence</strong> or <strong>expected behaviour</strong>. A step only a person can see waits for you. "Next round" sends the outcomes back to the cast.</li>
|
|
657
|
+
</ol>
|
|
658
|
+
<p>At a terminal:</p>
|
|
659
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe basal</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the business tests here (same as: forgeqe basal list)
|
|
660
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal new "Should we launch saved cards with a fee?" --file briefs/brief.md --file briefs/survey.csv [--story ID] [--env qa]
|
|
661
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal understand <id>
|
|
662
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal strategy <id>
|
|
663
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal cast <id>
|
|
664
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal rehearse <id>
|
|
665
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe basal show <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> the scenario, cast and strategy
|
|
666
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe basal approve <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person types the id
|
|
667
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal act <id> [--scenario s1,s2] [--yes-writes]
|
|
668
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal judge <id>
|
|
669
|
+
</span></span><span class="ln"><span class="cmd">forgeqe basal observe <id> <scenario> --step 3 --accepted|--refused [--values name=value] [--note TEXT]
|
|
670
|
+
</span></span></code></pre></div>
|
|
671
|
+
<p><code>act</code> lists the steps that change data and runs them only when you type <code>yes</code>; <code>--yes-writes</code> agrees in advance.</p>
|
|
672
|
+
<p>On BASAL's page, start a test on <strong>Agent</strong> with your business question and <strong>Start</strong>. <strong>Tests</strong> lists every business test with how many of the eight steps it has done; open one to work through its steps. <strong>Personas</strong> shows who each test was cast with, and <strong>Findings</strong> shows every scenario's latest verdict, the ones that need attention first. You can also ask Atlas ("test whether we should launch saved cards with a fee, here is the brief"): its <code>basal</code> tool starts the test and works through the steps, but never approves. It tells you where to approve, and acts only after you have.</p>
|
|
673
|
+
<p>BASAL needs a model, and is best with the graph store (<code>forgeqe graph setup</code>: Neo4j, after you agree) and an embedding model (<code>graph.embedding</code>). Its files are in <code>.forgeqe/basal/tests/<id>/</code>. BASAL replaced the Business assurance agent: <code>forgeqe business</code> now only says where BASAL is, and tests kept in <code>.forgeqe/business</code> are not read.</p>
|
|
674
|
+
</div>
|
|
675
|
+
</section>
|
|
676
|
+
</div>
|
|
677
|
+
</article>
|
|
678
|
+
|
|
679
|
+
<nav class="pager" aria-label="Previous and next">
|
|
680
|
+
<a class="prev" href="../area-browser/index.html"><small>Previous</small><span>Browser testing</span></a>
|
|
681
|
+
<a class="next" href="../area-automated-tests/index.html"><small>Next</small><span>Automated tests</span></a>
|
|
682
|
+
</nav>
|
|
683
|
+
</main>
|
|
684
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-run-test-cases">Run manual test cases in browsers</a></li><li><a href="#doc-how_to_use-7-test-cases-and-suites">Test cases and suites</a></li><li><a href="#doc-how_to_use-where-cases-come-from">Where cases come from</a></li><li><a href="#doc-how_to_use-running">Running</a></li><li><a href="#doc-how_to_use-results-back-in-the-source">Results back in the source</a></li><li><a href="#doc-how_to_use-bugs-for-failures">Bugs for failures</a></li><li><a href="#cap-test-case-quality">Check and improve test cases</a></li><li><a href="#doc-how_to_use-checking-test-cases-before-they-run">Checking test cases before they run</a></li><li><a href="#cap-write-test-cases">Write test cases from a story</a></li><li><a href="#cap-domain-compliance">Domain and regulatory test design</a></li><li><a href="#doc-how_to_use-16-domain-and-regulations">Domain and regulations</a></li><li><a href="#cap-exploratory-testing">Exploratory testing of a story</a></li><li><a href="#doc-how_to_use-exploratory-testing-from-a-story">Exploratory testing from a story</a></li><li><a href="#cap-business-personas">Business personas for testing</a></li><li><a href="#doc-how_to_use-business-personas">Business personas</a></li><li><a href="#cap-basal">BASAL: business testing that acts</a></li><li><a href="#doc-how_to_use-basal-business-testing">BASAL: business testing</a></li></ul></aside>
|
|
685
|
+
</div>
|
|
686
|
+
<footer class="foot">
|
|
687
|
+
<div class="container foot__row">
|
|
688
|
+
<a class="foot__brand" href="https://forgeqe.github.io/"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="ForgeQE" width="160" height="76"></picture><span>AI writes the code. <em>ForgeQE proves it works.</em></span></a>
|
|
689
|
+
<nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="../../security/index.html">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/">Contact us</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
|
|
690
|
+
</div>
|
|
691
|
+
<p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
|
|
692
|
+
</footer>
|
|
693
|
+
</body>
|
|
694
|
+
</html>
|