@capagents/forgeqe 3.3.1 → 3.3.3
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 +337 -8
- package/dist/docs-site/docs/area-operations/index.html +126 -2
- package/dist/docs-site/docs/area-quality/index.html +159 -3
- package/dist/docs-site/docs/area-setup/index.html +1 -0
- package/dist/docs-site/docs/area-test-cases/index.html +25 -0
- package/dist/docs-site/docs/overview/index.html +2 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2159 -1928
- package/dist/requirement-agent/requirements_agent/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/__main__.py +5 -0
- package/dist/requirement-agent/requirements_agent/agent.py +363 -0
- package/dist/requirement-agent/requirements_agent/chat_session.py +424 -0
- package/dist/requirement-agent/requirements_agent/cli.py +870 -0
- package/dist/requirement-agent/requirements_agent/config.py +403 -0
- package/dist/requirement-agent/requirements_agent/console_ui.py +632 -0
- package/dist/requirement-agent/requirements_agent/context/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/context/aggregate.py +214 -0
- package/dist/requirement-agent/requirements_agent/context/base.py +14 -0
- package/dist/requirement-agent/requirements_agent/context/folder.py +107 -0
- package/dist/requirement-agent/requirements_agent/context/given.py +70 -0
- package/dist/requirement-agent/requirements_agent/context/graph.py +181 -0
- package/dist/requirement-agent/requirements_agent/context/knowledge.py +192 -0
- package/dist/requirement-agent/requirements_agent/context/mcp.py +24 -0
- package/dist/requirement-agent/requirements_agent/context/memory.py +144 -0
- package/dist/requirement-agent/requirements_agent/context/personas.py +214 -0
- package/dist/requirement-agent/requirements_agent/context/rag.py +148 -0
- package/dist/requirement-agent/requirements_agent/context/untrusted.py +56 -0
- package/dist/requirement-agent/requirements_agent/docs/HOW_TO_USE.md +505 -0
- package/dist/requirement-agent/requirements_agent/docs/requirements-agent-architecture.html +348 -0
- package/dist/requirement-agent/requirements_agent/docs_cmd.py +51 -0
- package/dist/requirement-agent/requirements_agent/export/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/export/markdown.py +55 -0
- package/dist/requirement-agent/requirements_agent/export/pdf.py +82 -0
- package/dist/requirement-agent/requirements_agent/export/requirements_json.py +120 -0
- package/dist/requirement-agent/requirements_agent/init_cmd.py +191 -0
- package/dist/requirement-agent/requirements_agent/llm/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/llm/base.py +49 -0
- package/dist/requirement-agent/requirements_agent/llm/copilot.py +171 -0
- package/dist/requirement-agent/requirements_agent/llm/mock.py +144 -0
- package/dist/requirement-agent/requirements_agent/llm/providers.py +277 -0
- package/dist/requirement-agent/requirements_agent/llm/router.py +35 -0
- package/dist/requirement-agent/requirements_agent/models.py +73 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/analyst.md +29 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/architect.md +28 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/bmad-orchestrator.md +26 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/dev.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/pm.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/po.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/qa.md +28 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/sm.md +26 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-analyst.md +8 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-architect.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-dev.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-orchestrator.md +9 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-pm.md +9 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-po.md +10 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-qa.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-sm.md +8 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/bmad-kb.md +19 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/requirements-standards-baseline.md +188 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/technical-preferences.md +54 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/utils/template-format.md +7 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/workflows/greenfield-fullstack.yml +177 -0
- package/dist/requirement-agent/requirements_agent/pipeline/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/pipeline/brd.py +86 -0
- package/dist/requirement-agent/requirements_agent/pipeline/pack.py +233 -0
- package/dist/requirement-agent/requirements_agent/pipeline/progress.py +60 -0
- package/dist/requirement-agent/requirements_agent/pipeline/prompts.py +150 -0
- package/dist/requirement-agent/requirements_agent/pipeline/quality.py +124 -0
- package/dist/requirement-agent/requirements_agent/pipeline/refine.py +386 -0
- package/dist/requirement-agent/requirements_agent/pipeline/sections.py +117 -0
- package/dist/requirement-agent/requirements_agent/pipeline/spec_circuit.py +142 -0
- package/dist/requirement-agent/requirements_agent/shell/__init__.py +7 -0
- package/dist/requirement-agent/requirements_agent/shell/actions.py +208 -0
- package/dist/requirement-agent/requirements_agent/shell/app.py +902 -0
- package/dist/requirement-agent/requirements_agent/shell/commands.py +206 -0
- package/dist/requirement-agent/requirements_agent/shell/progress_pane.py +114 -0
- package/dist/requirement-agent/requirements_agent/shell/ref_picker.py +59 -0
- package/dist/requirement-agent/requirements_agent/shell/refs.py +120 -0
- package/dist/requirement-agent/requirements_agent/shell/session.py +362 -0
- package/dist/requirement-agent/requirements_agent/shell/transcript.py +241 -0
- package/dist/requirement-agent/requirements_agent/shell/usage.py +64 -0
- package/dist/requirement-agent/requirements_agent/shell/usage_llm.py +64 -0
- package/dist/requirement-agent/requirements_agent/shell/worker.py +378 -0
- package/dist/requirement-agent/requirements_agent/tuios_hook.py +182 -0
- package/dist/requirement-agent/requirements_agent/webops.py +627 -0
- package/dist/template.html +67 -67
- package/dist/web/assets/{3d-force-graph-Df2wOlpF.js → 3d-force-graph-KUdc_88B.js} +3 -3
- package/dist/web/assets/Agent-Bd54dLhD.js +10 -0
- package/dist/web/assets/AgentWork-CqMhsFBP.js +2 -0
- package/dist/web/assets/ApiTests-BO_sKAg8.js +15 -0
- package/dist/web/assets/Browse-BjPPdirz.js +1 -0
- package/dist/web/assets/Chat-DO-UvDWX.js +3 -0
- package/dist/web/assets/CommandPalette-BBGtkkz4.js +1 -0
- package/dist/web/assets/Compare-BFuLcrBB.js +1 -0
- package/dist/web/assets/Cost-DbKrBm9m.js +1 -0
- package/dist/web/assets/{Data-Be3ZNkUu.js → Data-B6_6Rm7C.js} +4 -4
- package/dist/web/assets/Desktop-CnBxMp68.js +1 -0
- package/dist/web/assets/DesktopReview-DVITz4Jv.js +2 -0
- package/dist/web/assets/DeviceScreen-BHmTd9Q-.js +1 -0
- package/dist/web/assets/Evidence-BZx9UF1t.js +1 -0
- package/dist/web/assets/{Explore-AtSStzNg.js → Explore-Kkl9koqy.js} +2 -2
- package/dist/web/assets/Features-_WrrIGBz.js +1 -0
- package/dist/web/assets/{Flags-GxmNrnSn.js → Flags-BGqG09qD.js} +2 -2
- package/dist/web/assets/Flaky-B7mr96H8.js +1 -0
- package/dist/web/assets/Impact-DzAtWie1.js +3 -0
- package/dist/web/assets/Jobs-YSmfG7C9.js +5 -0
- package/dist/web/assets/KindPage-UqU2qh63.js +6 -0
- package/dist/web/assets/LiveDevice-jFCQ_zeU.js +1 -0
- package/dist/web/assets/Migration-CfHZeobD.js +8 -0
- package/dist/web/assets/Mobile-DTMPjWeO.js +1 -0
- package/dist/web/assets/Observability-B-9cikxK.js +1 -0
- package/dist/web/assets/OwnItems-BC9M20At.js +5 -0
- package/dist/web/assets/PageAgent-CvV8gwuP.js +1 -0
- package/dist/web/assets/Product-lDXsflpD.js +6 -0
- package/dist/web/assets/Production-BHXWX-ww.js +1 -0
- package/dist/web/assets/Quality-Bsljiu_v.js +1 -0
- package/dist/web/assets/Readiness-BZppEirK.js +1 -0
- package/dist/web/assets/Record-7h0EFEiJ.js +1 -0
- package/dist/web/assets/Regression-DdM66t2E.js +5 -0
- package/dist/web/assets/RelationGraph-CBY9FhUu.js +1 -0
- package/dist/web/assets/Reports-u72R1XBV.js +2 -0
- package/dist/web/assets/Requirements-BAcEi5Fl.js +2 -0
- package/dist/web/assets/Responsive-CCPzSbdd.js +3 -0
- package/dist/web/assets/RunDiff-CGhLqPpP.js +1 -0
- package/dist/web/assets/Settings-DDCiQZ0T.js +21 -0
- package/dist/web/assets/Steps-sfVkdv7g.js +2 -0
- package/dist/web/assets/TestData-B4-xVlvt.js +2 -0
- package/dist/web/assets/TestManagement-BGBKGV1L.js +4 -0
- package/dist/web/assets/WhatsNew-BMTuBbaX.js +1 -0
- package/dist/web/assets/agentSettingsSheet-Cc2W6lyp.js +1 -0
- package/dist/web/assets/api-BsiuHmJq.js +1 -0
- package/dist/web/assets/choice-C4-yW2x9.js +1 -0
- package/dist/web/assets/code-Jek8uWUO.js +1 -0
- package/dist/web/assets/{coverage-DirEXtfZ.js → coverage-pqIlfEP0.js} +1 -1
- package/dist/web/assets/dataParts-CkwgLllh.js +3 -0
- package/dist/web/assets/desktopAppPath-D3mGDKPz.js +1 -0
- package/dist/web/assets/flowTheme-DKuXe5nP.js +7 -0
- package/dist/web/assets/frame-BMpSUo2-.js +13 -0
- package/dist/web/assets/index-6SZomYE0.js +55 -0
- package/dist/web/assets/index-CWqwtFKz.css +2 -0
- package/dist/web/assets/line-icons-CwCZidXs.js +1 -0
- package/dist/web/assets/logos-P2LOMyTK.js +1 -0
- package/dist/web/assets/{markdown-BnrLv6Iw.js → markdown-1wY7hIbM.js} +5 -5
- package/dist/web/assets/nav-B_68FVw_.js +1 -0
- package/dist/web/assets/pageBack-CbyKfisx.js +3 -0
- package/dist/web/assets/palette-6YAAmgkD.js +1 -0
- package/dist/web/assets/{paletteCommands-LXIICD4V.js → paletteCommands-Isq1rLs-.js} +1 -1
- package/dist/web/assets/parts-ClnDV-6r.js +1 -0
- package/dist/web/assets/preload-helper-BupTYkQW.js +1 -0
- package/dist/web/assets/productParts-D18glCBr.js +1 -0
- package/dist/web/assets/qualityParts-1F1Ee4Ay.js +1 -0
- package/dist/web/assets/radio-BLI4Ubhk.js +1 -0
- package/dist/web/assets/react-BDur5s0O.js +1 -0
- package/dist/web/assets/{recordTest-BzKpS4m5.js → recordTest-7uIZiqOW.js} +1 -1
- package/dist/web/assets/route-oDy8sV6H.js +1 -0
- package/dist/web/assets/sectionList-B651VPon.js +1 -0
- package/dist/web/assets/step-mark-CaKf4dAR.js +1 -0
- package/dist/web/assets/stepper-DdgwJtbU.js +1 -0
- package/dist/web/assets/utils-DJRAScIl.js +1 -0
- package/dist/web/assets/wizardParts-C0cNmIK9.js +1 -0
- package/dist/web/index.html +15 -13
- package/docs/user-guide.html +309 -3
- package/evals/prompts/perf-report/limit-broken.yaml +28 -0
- package/evals/prompts/perf-report/regression-other-load.yaml +28 -0
- package/forgeqe.example.yaml +10 -0
- package/package.json +2 -1
- package/prompts/README.md +4 -0
- package/prompts/brain.md +17 -0
- package/prompts/perf-report.md +41 -0
- package/prompts/perf-strategy.md +45 -0
- package/prompts/perf.md +45 -0
- package/prompts/team-builder.md +50 -0
- package/py/forgeqe_engine/cli.py +7 -0
- package/dist/web/assets/Agent-CRfgRnq2.js +0 -8
- package/dist/web/assets/AgentWork-DqiO3LUi.js +0 -2
- package/dist/web/assets/ApiTests-DCAnizu5.js +0 -15
- package/dist/web/assets/Browse-D5VDHN9Z.js +0 -1
- package/dist/web/assets/Chat-CLGQ1ymU.js +0 -3
- package/dist/web/assets/CommandPalette-D3F4iHrP.js +0 -1
- package/dist/web/assets/Compare-B1WN67Ny.js +0 -1
- package/dist/web/assets/Cost-Dk4m3r8z.js +0 -1
- package/dist/web/assets/Desktop-B3GcbaPu.js +0 -1
- package/dist/web/assets/DesktopReview-DfvAL3m8.js +0 -2
- package/dist/web/assets/DeviceScreen-DJqblqBh.js +0 -1
- package/dist/web/assets/Evidence-BsA7vCZG.js +0 -1
- package/dist/web/assets/Features-CDBlFLaJ.js +0 -1
- package/dist/web/assets/Flaky-C062Mh6z.js +0 -1
- package/dist/web/assets/Impact-BeXw3-oL.js +0 -3
- package/dist/web/assets/Jobs-QYWqmdDI.js +0 -5
- package/dist/web/assets/KindPage-C2g51s9c.js +0 -6
- package/dist/web/assets/LiveDevice-C9LRZMhC.js +0 -1
- package/dist/web/assets/Migration-ByUU0Oa_.js +0 -8
- package/dist/web/assets/Mobile-Dd3jL0Cn.js +0 -1
- package/dist/web/assets/Observability-Dx4ZCRDj.js +0 -1
- package/dist/web/assets/PageAgent-DYBOhs2x.js +0 -1
- package/dist/web/assets/Product-Ch1XAeAT.js +0 -12
- package/dist/web/assets/Production-TEdyFmo4.js +0 -1
- package/dist/web/assets/Quality-DH8EdI2u.js +0 -1
- package/dist/web/assets/Readiness-B8S7Ex0C.js +0 -1
- package/dist/web/assets/Record-uFQ-YaHg.js +0 -1
- package/dist/web/assets/Regression-CSDT2AnY.js +0 -5
- package/dist/web/assets/RelationGraph-gc0Xmklt.js +0 -1
- package/dist/web/assets/Reports-CSHhRfWv.js +0 -2
- package/dist/web/assets/Responsive-CEG1hbbQ.js +0 -3
- package/dist/web/assets/RunDiff-CHrMivzC.js +0 -1
- package/dist/web/assets/Settings-B63s0b1g.js +0 -21
- package/dist/web/assets/Steps-BsDjv-pm.js +0 -2
- package/dist/web/assets/TestData-CJoCXihI.js +0 -2
- package/dist/web/assets/TestManagement-Dkb-paWh.js +0 -4
- package/dist/web/assets/WhatsNew-Dtk9mJU4.js +0 -1
- package/dist/web/assets/agentSettingsSheet-BlM8KSpN.js +0 -1
- package/dist/web/assets/api-6pHfHEgB.js +0 -1
- package/dist/web/assets/choice-CiFogD01.js +0 -1
- package/dist/web/assets/code-DzYywAs5.js +0 -1
- package/dist/web/assets/dataParts-Di7PdPHu.js +0 -3
- package/dist/web/assets/desktopAppPath-B8j1-pX0.js +0 -1
- package/dist/web/assets/frame-CNLw552P.js +0 -13
- package/dist/web/assets/index-DLuCgQKX.js +0 -55
- package/dist/web/assets/index-DRcPg81h.css +0 -2
- package/dist/web/assets/line-icons-B-O8oBsY.js +0 -1
- package/dist/web/assets/nav-Ds_6IERv.js +0 -1
- package/dist/web/assets/pageBack-DJxbEPfN.js +0 -3
- package/dist/web/assets/palette-H2g-hemT.js +0 -1
- package/dist/web/assets/parts-DKRLtrjs.js +0 -1
- package/dist/web/assets/preload-helper-BML5SvL4.js +0 -1
- package/dist/web/assets/productParts-imNtw-1N.js +0 -1
- package/dist/web/assets/qualityParts-DJhFlgCm.js +0 -1
- package/dist/web/assets/radio-CbR6ODxQ.js +0 -1
- package/dist/web/assets/route-DjewvmpL.js +0 -1
- package/dist/web/assets/sectionList-0umoKvRv.js +0 -1
- package/dist/web/assets/step-mark-g8Eb6foB.js +0 -1
- package/dist/web/assets/stepper-CzZIC36d.js +0 -1
- /package/dist/web/assets/{Product-DLioOiRN.css → flowTheme-DLioOiRN.css} +0 -0
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
</nav>
|
|
118
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
119
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
|
|
120
|
-
<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">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="../area-quality/index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</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="../area-test-cases/index.html"><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="index.html" aria-current="page"><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></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>How ForgeQE works</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="../architecture-reference/index.html"><span>Architecture reference</span></a></li><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="../graphify/index.html"><span>Reading product code</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-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
|
|
120
|
+
<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">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="../area-quality/index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</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="../area-test-cases/index.html"><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="index.html" aria-current="page"><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></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>How ForgeQE works</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="../architecture-reference/index.html"><span>Architecture reference</span></a></li><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="../graphify/index.html"><span>Reading product code</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-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-agent-teams">Teams of custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
|
|
121
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-network"/></svg>Operations and monitoring</h1>
|
|
122
122
|
<p class="guide-lead">Monitoring and CI pipelines</p>
|
|
123
123
|
<article class="spec feat" id="cap-containers">
|
|
@@ -1252,6 +1252,130 @@ them back on restores everything as it was.</p>
|
|
|
1252
1252
|
</div></div></div>
|
|
1253
1253
|
</section>
|
|
1254
1254
|
</div>
|
|
1255
|
+
<article class="spec feat" id="cap-agent-teams">
|
|
1256
|
+
<div class="hd"><span class="mono">Operations</span><h3>Teams of custom agents</h3></div>
|
|
1257
|
+
<p class="ds">Hands a request to a team of the project's custom agents: its lead plans the work and hands each task to the member it fits, each member held to its own approved limits and the team's, and the team answers with one report. Also tries a team's file before it is approved, reading and running only. assign_task, team_note, team_board, ask_lead, team_answer and team_wait are the team's own tools, given only to its agents during its run.</p>
|
|
1258
|
+
<div class="facts">
|
|
1259
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Ask the release-qa team to check release 2.4 on qa</li><li>Which teams do we have?</li><li>Try the payments team on the checkout</li></ul></div>
|
|
1260
|
+
<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>
|
|
1261
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A team runs only a version a person approved (forgeqe team approve): its lead hands tasks to its members, each held to its own limits and the team's.</li><li>A custom agent cannot start a team; only ForgeQE's agent, a person, a schedule or a trigger can.</li></ul></div>
|
|
1262
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>team</code> <code>assign_task</code> <code>team_note</code> <code>team_board</code> <code>ask_lead</code> <code>team_answer</code> <code>team_wait</code></p></div>
|
|
1263
|
+
</div>
|
|
1264
|
+
|
|
1265
|
+
</article>
|
|
1266
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-teams-of-custom-agents">
|
|
1267
|
+
<h4>Teams of custom agents</h4>
|
|
1268
|
+
<div class="prose"><p>A team is a lead and its members, each one of your custom agents, for QA work that needs several of them: the lead
|
|
1269
|
+
plans the request and hands each task to the member it fits, and reports one result. A member can work as one of your
|
|
1270
|
+
business personas. A team never lets an agent do more than its own approved version allows; the team's limits only take
|
|
1271
|
+
away (fewer environments or actions, more questions for a person, tools no member uses).</p>
|
|
1272
|
+
<p>A team is a file, <code>.forgeqe/agents/teams/<id>.yaml</code>:</p>
|
|
1273
|
+
<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: release-qa
|
|
1274
|
+
</span></span><span class="ln"><span class="cmd">name: Release QA team
|
|
1275
|
+
</span></span><span class="ln"><span class="cmd">version: 1.0.0
|
|
1276
|
+
</span></span><span class="ln"><span class="cmd">description: Checks a release candidate end to end.
|
|
1277
|
+
</span></span><span class="ln"><span class="cmd">purpose: Plan the checks for the release, hand each to the member it fits, and report one verdict.
|
|
1278
|
+
</span></span><span class="ln ln--pair"><span class="cmd">lead: qa-lead</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a custom agent: it plans and hands out the tasks
|
|
1279
|
+
</span></span><span class="ln"><span class="cmd">members:
|
|
1280
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> - agent: api-tester</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a custom agent; its approved version does each task
|
|
1281
|
+
</span></span><span class="ln"><span class="cmd"> role: API testing
|
|
1282
|
+
</span></span><span class="ln"><span class="cmd"> - agent: ui-tester
|
|
1283
|
+
</span></span><span class="ln"><span class="cmd"> role: UI testing
|
|
1284
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> persona: retail-customer</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: a business persona it works as
|
|
1285
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> instances: 2</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional (1-3): how many tasks it may work on at once
|
|
1286
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> after: [api-tester]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: it works on what api-tester found (a hand-off)
|
|
1287
|
+
</span></span><span class="ln ln--pair"><span class="cmd">knowledge:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: what every agent of the team is given
|
|
1288
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> files: [payments.md]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ForgeQE's knowledge files (.forgeqe/knowledge)
|
|
1289
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> product: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ForgeQE's product knowledge, read only
|
|
1290
|
+
</span></span><span class="ln ln--pair"><span class="cmd">skills: [checkout-flows]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: ForgeQE's skills every agent of the team may use
|
|
1291
|
+
</span></span><span class="ln ln--pair"><span class="cmd">limits:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional; each only takes away from every member's own limits
|
|
1292
|
+
</span></span><span class="ln"><span class="cmd"> environments: [qa, staging]
|
|
1293
|
+
</span></span><span class="ln"><span class="cmd"> actions: [read, run]
|
|
1294
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> approve: [run]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> asked of a person first, on top of each member's own
|
|
1295
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_tasks: 12</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the most tasks the lead hands out in one run (1-50)
|
|
1296
|
+
</span></span><span class="ln"><span class="cmd"> max_minutes: 120
|
|
1297
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_tokens: 400000</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the most model tokens the whole team uses in one run
|
|
1298
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> parallel: 2</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how many members work at once (1-4)
|
|
1299
|
+
</span></span><span class="ln ln--pair"><span class="cmd">schedule: { every: 1d, request: "Check the nightly build on qa" }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: runs by itself
|
|
1300
|
+
</span></span><span class="ln ln--pair"><span class="cmd">triggers: [{ on: suite_failed, request: "Find out why the last suite failed" }]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional, as an agent's
|
|
1301
|
+
</span></span><span class="ln"><span class="cmd">starters: [{ label: Release check, text: "Check release 2.4 on qa" }]
|
|
1302
|
+
</span></span></code></pre></div>
|
|
1303
|
+
<p>What runs is a version a person approved, as for an agent. ForgeQE keeps each run's board: which task went to which
|
|
1304
|
+
member, how each ended and the member's own run, the notes they left each other, the tokens used, and the lead's
|
|
1305
|
+
report. It refuses a task past <code>max_tasks</code> or <code>max_tokens</code>, the same task again to a member that did it, and a second
|
|
1306
|
+
task to a member still working.</p>
|
|
1307
|
+
<ul>
|
|
1308
|
+
<li><strong>Working side by side.</strong> With <code>parallel</code> above 1, the lead can hand several tasks at once; up to that many members
|
|
1309
|
+
work at the same time and the results come back together.</li>
|
|
1310
|
+
<li><strong>Several copies of a member.</strong> With <code>instances</code> on a member, it works on up to that many tasks at once, each its
|
|
1311
|
+
own run in its history (within <code>parallel</code> for the whole team).</li>
|
|
1312
|
+
<li><strong>Asking the lead.</strong> A member that cannot go on well without an answer (which account, environment or data to use)
|
|
1313
|
+
asks the lead and waits. The lead hears at once, answers, and goes on waiting for its other tasks. With no answer
|
|
1314
|
+
within ten minutes, the member carries on and says what it assumed. The board keeps every question and answer.</li>
|
|
1315
|
+
<li><strong>Notes.</strong> Any agent of the team can leave a one-line note for the lead, another member or everyone: a finding, a
|
|
1316
|
+
question, that it is blocked, or an answer. ForgeQE keeps it on the board and passes it on as information, never as
|
|
1317
|
+
an instruction: a member gets the notes for it with its next task, the lead with a task's result.</li>
|
|
1318
|
+
<li><strong>Hand-offs.</strong> <code>after</code> on a member makes it work on what another member found: ForgeQE refuses the lead a task for
|
|
1319
|
+
it until each member it waits for has finished a task in the run, and the lead passes their findings on. Members
|
|
1320
|
+
never wait for each other in a circle.</li>
|
|
1321
|
+
<li><strong>Knowledge, shared or this team's only.</strong> <code>knowledge</code> and <code>skills</code> give every agent of the team some of ForgeQE's
|
|
1322
|
+
shared knowledge: its knowledge files, its skills and product knowledge (read only). A team can also keep its own
|
|
1323
|
+
skills, prompts, guardrails and notes, in <code>.forgeqe/agents/teams/<id>/</code> (<code>skills/<name>/SKILL.md</code>,
|
|
1324
|
+
<code>prompts/<name>.md</code>, <code>guardrails/<name>.md</code>, <code>knowledge/<name>.md</code>): only this team's agents get them, while they
|
|
1325
|
+
work in it. A prompt or a set of guardrails can be for every agent of the team, only the lead, or only the members.
|
|
1326
|
+
The team's skills load through the same skill system as ForgeQE's shared ones (a skill outside an agent's list is
|
|
1327
|
+
refused) and cannot take one of their names; its guardrails are one-line rules like ForgeQE's, and add to an agent's
|
|
1328
|
+
limits without lifting any. No agent reads the folder: every agent's file tools and shell commands are refused there,
|
|
1329
|
+
and project-wide searches pass it by. Everything a team gives is fixed when a person approves it: if a file, a skill
|
|
1330
|
+
or the team's own items change after, the team shows <strong>Knowledge changed</strong> and does not run until a person approves
|
|
1331
|
+
it again.
|
|
1332
|
+
You manage them in two places: the team's <strong>Knowledge</strong> box on its canvas (<strong>This team only</strong>), and the <strong>Teams</strong>
|
|
1333
|
+
view of <strong>Settings › Skills</strong>, <strong>Prompts</strong> and <strong>Guardrails</strong>, which lists every team's own items of that kind with
|
|
1334
|
+
Add, change and remove.</li>
|
|
1335
|
+
<li><strong>Budget.</strong> <code>max_tokens</code> counts the lead's and every member's model tokens together; past it the whole team stops.</li>
|
|
1336
|
+
<li><strong>Running by itself.</strong> A <code>schedule</code> and <code>triggers</code> work as a custom agent's: with nobody watching, only the approved
|
|
1337
|
+
version runs, and what a member may not do alone waits for a person. Approving or enabling the team sets its schedule;
|
|
1338
|
+
disabling pauses it. A repository webhook can start a team the same way it starts an agent.</li>
|
|
1339
|
+
</ul>
|
|
1340
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1341
|
+
<ol>
|
|
1342
|
+
<li>Open <strong>Agents › Custom agents</strong>. Your teams are under <strong>Teams</strong>; <strong>New team</strong> builds one.</li>
|
|
1343
|
+
<li>Say what the team should do, or pick a starting point (Release check, PR gate, Regression triage…). Captain, the
|
|
1344
|
+
team builder, drafts a team from your own agents: a lead, members with roles, hand-offs, the knowledge it needs,
|
|
1345
|
+
and the jobs no agent of yours does yet. ForgeQE keeps only agents, files and skills you have, and sets the limits
|
|
1346
|
+
itself (never production). With no model set up, ForgeQE drafts it from what your agents say they do. It is saved
|
|
1347
|
+
as a draft; nothing runs yet.</li>
|
|
1348
|
+
<li>The team opens on a canvas, top to bottom: how it starts, its rules and knowledge, the lead, the members, the
|
|
1349
|
+
person who approves changes, and the report. Click any part to edit it in the panel on the right. Drag parts
|
|
1350
|
+
anywhere (<strong>Tidy up</strong> lays them out again). Draw a line from one member's right dot to another's left dot to make
|
|
1351
|
+
the second work after the first; select a line and press Delete to remove it, or use <strong>Works after</strong> in the
|
|
1352
|
+
member's panel. A dashed box is a job no
|
|
1353
|
+
member does yet: <strong>Choose</strong> one of your agents for it, or <strong>Build</strong> a new agent for the team (a draft held to the
|
|
1354
|
+
team's rules). <strong>Add member</strong> does the same.</li>
|
|
1355
|
+
<li><strong>Knowledge</strong> has two tabs. <strong>This team only</strong>: add skills, prompts, guardrails and notes written for this team
|
|
1356
|
+
(a prompt or guardrails for every agent, the lead or the members); they are saved at once, and the team uses them
|
|
1357
|
+
once a person approves it again. <strong>Shared from ForgeQE</strong>: switch on product knowledge, and pick knowledge files and
|
|
1358
|
+
skills for every agent of the team.</li>
|
|
1359
|
+
<li><strong>Rules</strong> sets where the team may work and what it may do (Careful, Standard or Trusted to start from, never
|
|
1360
|
+
production unless you pick it), how many tasks, how many at once and its token budget. <strong>Code</strong> shows the team file.
|
|
1361
|
+
<strong>Save</strong> keeps your changes; undo and redo are in the toolbar.</li>
|
|
1362
|
+
<li><strong>Preview</strong> tries the team on a request in a chat: it only reads and runs, and you are asked before each run.</li>
|
|
1363
|
+
<li><strong>Publish</strong> approves any new agents first, then the team (type each id). Then ask the team from its page: a chat
|
|
1364
|
+
opens where Atlas hands your request to the team. <strong>Runs</strong> replays a run on the canvas, each member lit by how its
|
|
1365
|
+
tasks went.</li>
|
|
1366
|
+
</ol>
|
|
1367
|
+
<p>On a phone the canvas is a list of the same parts, and the panel opens as a sheet.</p>
|
|
1368
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1369
|
+
<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 team list
|
|
1370
|
+
</span></span><span class="ln"><span class="cmd">forgeqe team check release-qa
|
|
1371
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe team approve release-qa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> type the id to confirm
|
|
1372
|
+
</span></span><span class="ln"><span class="cmd">forgeqe team run release-qa "Check release 2.4 on qa"
|
|
1373
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe team board release-qa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the latest run's tasks
|
|
1374
|
+
</span></span></code></pre></div>
|
|
1375
|
+
<p>Atlas can also ask a team when you name it in a chat ("Ask the release-qa team to check release 2.4 on qa").</p>
|
|
1376
|
+
</div></div></div>
|
|
1377
|
+
</section>
|
|
1378
|
+
</div>
|
|
1255
1379
|
<article class="spec feat" id="cap-notifications">
|
|
1256
1380
|
<div class="hd"><span class="mono">Operations</span><h3>Teams and email notifications</h3></div>
|
|
1257
1381
|
<p class="ds">Tells the team in Microsoft Teams channels or by email when a suite fails or passes, when a release readiness verdict is in, and when the domain evaluation falls below its gate, with the failing cases, their bugs, and links to the report and the CI build. Each channel picks its events; the agent also posts a summary to a channel when asked.</p>
|
|
@@ -1373,7 +1497,7 @@ them back on restores everything as it was.</p>
|
|
|
1373
1497
|
<a class="next" href="../area-data/index.html"><small>Next</small><span>Test data and databases</span></a>
|
|
1374
1498
|
</nav>
|
|
1375
1499
|
</main>
|
|
1376
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
|
|
1500
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-agent-teams">Teams of custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
|
|
1377
1501
|
</div>
|
|
1378
1502
|
<footer class="foot">
|
|
1379
1503
|
<div class="container foot__row">
|
|
@@ -117,16 +117,172 @@
|
|
|
117
117
|
</nav>
|
|
118
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
119
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Browser and tests</p>
|
|
120
|
-
<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">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</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="../area-test-cases/index.html"><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="index.html" aria-current="page"><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></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>How ForgeQE works</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="../architecture-reference/index.html"><span>Architecture reference</span></a></li><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="../graphify/index.html"><span>Reading product code</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-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></nav></details></div>
|
|
120
|
+
<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">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</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="../area-test-cases/index.html"><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="index.html" aria-current="page"><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></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>How ForgeQE works</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="../architecture-reference/index.html"><span>Architecture reference</span></a></li><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="../graphify/index.html"><span>Reading product code</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-load-testing">Load testing with JMeter</a></li><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></nav></details></div>
|
|
121
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-result"/></svg>Quality checks</h1>
|
|
122
122
|
<p class="guide-lead">Accessibility, page performance, and visual changes</p>
|
|
123
|
+
<article class="spec feat" id="cap-load-testing">
|
|
124
|
+
<div class="hd"><span class="mono">Quality</span><h3>Load testing with JMeter</h3></div>
|
|
125
|
+
<p class="ds">Load, stress, soak and spike tests with Apache JMeter: the coding agent writes a .jmx plan from your words, ForgeQE checks and smoke-runs it, then runs your load headless on a test environment and reports response times, throughput and errors per request against your limits, with JMeter's HTML report and junit.xml. Teams' own .jmx plans run too.</p>
|
|
126
|
+
<div class="facts">
|
|
127
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write a load test for checkout with 200 users over 10 minutes</li><li>Run the checkout.jmx load test with 50 users</li><li>Did the search load test get slower than last week?</li><li>Write an executive report of the last checkout load test</li><li>Import results/loadrunner.xlsx as checkout-lr and compare it with our baseline</li><li>Convert the LoadRunner script in lr/Checkout to JMeter</li><li>How many users can checkout take before p95 passes 800 ms?</li><li>Why was search slow in the last load test? Check Application Insights</li><li>Plan the performance tests for Black Friday: 500 users on checkout and search</li></ul></div>
|
|
128
|
+
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
129
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Runs only on a test environment of env.yaml, never production; more users than perf.max_users asks a person first.</li><li>A plan runs only when every element is on ForgeQE's list: no JSR223 or BeanShell scripts, OS Process, Java, JDBC or other non-HTTP samplers, includes or file access.</li><li>Load comes from this computer (or the CI agent): no distributed or cloud load yet.</li></ul></div>
|
|
130
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>perf_plans</code> <code>perf_check</code> <code>perf_run</code> <code>perf_write</code> <code>perf_compare</code> <code>perf_report</code> <code>perf_analyse</code> <code>perf_predict</code> <code>perf_convert</code> <code>perf_import</code> <code>perf_results</code> <code>perf_strategy</code></p></div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
</article>
|
|
134
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-load-testing-with-jmeter">
|
|
135
|
+
<h4>Load testing with JMeter</h4>
|
|
136
|
+
<div class="prose"><p>Load, stress, soak and spike tests run on <strong>Apache JMeter 5.6.3</strong>, headless, on a test environment of env.yaml. A
|
|
137
|
+
plan is an ordinary JMeter <code>.jmx</code> file in the plans folder (<code>perf.folder</code>, default <code>perf/</code> in the test repository), so
|
|
138
|
+
the team opens and edits it in JMeter's own GUI. ForgeQE's coding agent writes plans from your words; your existing
|
|
139
|
+
plans run too.</p>
|
|
140
|
+
<p><strong>What a run gives you.</strong> For each request (label) and in all: samples, error rate, mean, p50, p90, p95 and p99
|
|
141
|
+
response time, maximum, requests per second, and a timeline of each second. Each limit is checked: p95, p99 or mean
|
|
142
|
+
response time, error rate, and minimum throughput. The run folder (<code><reports>/perf/<plan>/<time>/</code>) holds <code>summary.md</code>,
|
|
143
|
+
<code>perf.json</code>, <code>junit.xml</code> (each limit a test case, so a pipeline fails on a broken one), JMeter's results (<code>results.jtl</code>)
|
|
144
|
+
and log, and <strong>JMeter's own HTML dashboard</strong> (<code>report/index.html</code>).</p>
|
|
145
|
+
<p><strong>Setting it up.</strong> JMeter and a Java 21 runtime (about 150 MB, pinned by SHA-256) are downloaded into ForgeQE's tools
|
|
146
|
+
folder only when you agree: <code>forgeqe perf setup</code>, the <strong>Set up JMeter</strong> button on the Performance page, or the agent's
|
|
147
|
+
question the first time it runs a plan.</p>
|
|
148
|
+
<p><strong>Writing a plan.</strong> Ask the agent ("Write a load test for checkout with 200 users over 10 minutes, p95 under 800 ms"),
|
|
149
|
+
press <strong>Write a plan</strong> on the Performance page's Load tests tab, or run <code>forgeqe perf write "<what to load test>"</code>. The
|
|
150
|
+
coding agent writes the plan in the plans folder only (anything else it changes is put back), with no shell. ForgeQE
|
|
151
|
+
checks it and runs it once with one user and one loop; each problem goes back to the agent until the plan passes.</p>
|
|
152
|
+
<p><strong>How a plan says where it goes and how much load.</strong> ForgeQE passes the environment's apps as JMeter properties, so
|
|
153
|
+
one plan runs on any test environment:</p>
|
|
154
|
+
<ul>
|
|
155
|
+
<li><code>${__P(protocol)}</code>, <code>${__P(host)}</code>, <code>${__P(port)}</code> and <code>${__P(base_path)}</code>: the environment's API app (else its
|
|
156
|
+
start app); <code>${__P(app.NAME.host)}</code> and so on for each web or API app of env.yaml.</li>
|
|
157
|
+
<li><code>${__P(users,N)}</code>, <code>${__P(ramp,N)}</code>, <code>${__P(duration,N)}</code> and <code>${__P(loops,N)}</code>: the load, which a run can change
|
|
158
|
+
(<code>--users</code>, <code>--ramp</code>, <code>--duration</code>, <code>--loops</code>, or the page's fields).</li>
|
|
159
|
+
<li><code>${__P(secret.NAME)}</code>: a secret the environment lists under <code>secrets</code> in env.yaml. Its value reaches JMeter only in
|
|
160
|
+
a private properties file removed after the run, never on a command line, and is taken out of every message kept.</li>
|
|
161
|
+
</ul>
|
|
162
|
+
<p><strong>What ForgeQE does not run.</strong> A <code>.jmx</code> can run code, so ForgeQE reads every element before it starts JMeter, and
|
|
163
|
+
refuses a plan with:</p>
|
|
164
|
+
<ul>
|
|
165
|
+
<li>a JSR223 or BeanShell element, the OS Process, Java, JUnit, JDBC, JMS, TCP, SMTP, FTP or LDAP sampler, an Include
|
|
166
|
+
Controller, DNS Cache Manager, Keystore Config, Backend Listener, Debug sampler, or an element JMeter plugins add;</li>
|
|
167
|
+
<li>a JMeter function that runs a script or reads or writes a file (<code>__groovy</code>, <code>__javaScript</code>, <code>__jexl3</code>,
|
|
168
|
+
<code>__BeanShell</code>, <code>__eval</code>, <code>__FileToString</code>, <code>__StringToFile</code>, <code>__CSVRead</code> and the like);</li>
|
|
169
|
+
<li>a request to an address that is not an app of the environment (or one it cannot work out), a proxy, an upload, a
|
|
170
|
+
custom classpath, or a listener that writes its own file;</li>
|
|
171
|
+
<li>a CSV data file outside the plan's folder or reached through a link, or a credential written in the plan;</li>
|
|
172
|
+
<li>an If Controller that runs its condition as JavaScript, or a thread group that loops forever with no duration.</li>
|
|
173
|
+
</ul>
|
|
174
|
+
<p><code>forgeqe perf check <plan></code> (or <strong>Check</strong> on the page) lists every reason. ForgeQE runs a frozen copy of the plan and
|
|
175
|
+
its CSV files, so what was checked is what runs.</p>
|
|
176
|
+
<p><strong>Limits on load.</strong> Never on an environment named like production. More users than <code>perf.max_users</code> (default 50) need
|
|
177
|
+
a person's yes; one computer runs at most 5,000; a run stops after <code>perf.max_minutes</code> (default 30). The load comes
|
|
178
|
+
from this computer or your CI agent: distributed and cloud load are not supported yet. A request JMeter is redirected
|
|
179
|
+
to another host, or a page's embedded resources (<strong>Retrieve All Embedded Resources</strong>), can reach other hosts: the
|
|
180
|
+
check warns about the second.</p>
|
|
181
|
+
<p><strong>Settings.</strong></p>
|
|
182
|
+
<p><strong>Web app:</strong> <strong>Settings › Quality</strong>, under <strong>Load tests</strong>: the plans folder, the users a person confirms above, the
|
|
183
|
+
longest run, JMeter's memory and the limits.</p>
|
|
184
|
+
<p><strong>Terminal:</strong> in forgeqe.yaml:</p>
|
|
185
|
+
<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">perf:
|
|
186
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> folder: perf</span><span class="pad"> </span><span class="cm"><span class="h">#</span> plans, in the test repository (code.repo) or else the project
|
|
187
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_users: 50</span><span class="pad"> </span><span class="cm"><span class="h">#</span> above this, a person confirms the run
|
|
188
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_minutes: 30</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a run is stopped after this
|
|
189
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> heap: 1g</span><span class="pad"> </span><span class="cm"><span class="h">#</span> JMeter's memory
|
|
190
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> limits:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a run fails when one is broken (perf_run's or --p95-ms … override them)
|
|
191
|
+
</span></span><span class="ln"><span class="cmd"> p95_ms: 800
|
|
192
|
+
</span></span><span class="ln"><span class="cmd"> error_rate: 0.01
|
|
193
|
+
</span></span></code></pre></div>
|
|
194
|
+
<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 perf setup
|
|
195
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf write "Browse products and add one to the cart, 100 users for 5 minutes"
|
|
196
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf check checkout.jmx
|
|
197
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf run checkout.jmx --env qa --users 100 --duration 300 --p95-ms 800
|
|
198
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf results checkout.jmx
|
|
199
|
+
</span></span></code></pre></div>
|
|
200
|
+
<p><code>forgeqe perf run</code> exits 1 when a limit breaks, so a pipeline can gate on it; publish <code>junit.xml</code> and the HTML report
|
|
201
|
+
as build artifacts.</p>
|
|
202
|
+
<p><strong>Baselines and comparing runs.</strong> Each run is compared with its plan's <strong>baseline</strong>, else with the run before it. A
|
|
203
|
+
request is <strong>slower</strong> when its p95 rose by more than 10% and more than 20 ms (so noise in fast requests is not a
|
|
204
|
+
regression), and <strong>fails more</strong> when its error rate rose by more than half a percentage point; new and gone requests are
|
|
205
|
+
listed. Runs of another load or environment are compared too, with that said. A baseline is chosen only by a person:
|
|
206
|
+
<strong>Set as baseline</strong> on a run of the Load tests tab, or <code>forgeqe perf baseline <plan> <run></code>. <code>forgeqe perf compare <plan></code> exits 1 when a request got worse, for a pipeline that gates on the trend rather than fixed limits.</p>
|
|
207
|
+
<p><strong>Executive report.</strong> <strong>Write report</strong> on a run (or <code>forgeqe perf report <plan></code>, or ask the agent) writes
|
|
208
|
+
<code>executive.html</code> and <code>executive.md</code> beside the run: the headline, the totals, limits, the comparison, observations, risks
|
|
209
|
+
and next steps, a chart of each request's p95 against the compared run, the response time over the run, the trend across
|
|
210
|
+
the plan's runs, and every request. ForgeQE works out every number and chart. The words come from its model, which gets
|
|
211
|
+
only those numbers and has no tools; a sentence is kept only when every number in it is one of the run's and every
|
|
212
|
+
request it names is the run's, so the report cannot invent a figure. With no model (or <code>--no-model</code>), ForgeQE writes the
|
|
213
|
+
words itself. The HTML page runs no script and loads nothing from outside, so it can be mailed or attached as it is.</p>
|
|
214
|
+
<p><strong>Importing results made elsewhere.</strong> <strong>Import</strong> on the Load tests tab, <code>forgeqe perf import <file> --name <name></code>, or
|
|
215
|
+
the agent's perf_import bring in results as a run, to compare and report on like ForgeQE's own:</p>
|
|
216
|
+
<ul>
|
|
217
|
+
<li>a JMeter results file (<code>.jtl</code> or CSV with JMeter's columns), read as ForgeQE reads its own;</li>
|
|
218
|
+
<li>a summary table of per-request numbers (CSV, TSV or <code>.xlsx</code>), as LoadRunner Analysis or a team's own sheet lays them
|
|
219
|
+
out. Columns are found by their headings: the request (Transaction Name, Label…), Average, 90 Percent / 95% Line /
|
|
220
|
+
p99, Pass and Fail or # Samples and Error %, Throughput or TPS. Times are taken as seconds when a heading says so
|
|
221
|
+
(<code>Average (s)</code>), else milliseconds; <code>--unit s|ms</code> (or the page's choice) says it outright.</li>
|
|
222
|
+
</ul>
|
|
223
|
+
<p>The file is a path inside the project (no hidden folder, nothing named like a credential). Results are kept under a
|
|
224
|
+
plan's name, to compare them with its runs, or under a new name in lower case (<code>checkout-loadrunner</code>); results from an
|
|
225
|
+
environment named like production are not kept. When the table has no total row, the totals' p50, p90, p95 and p99 are
|
|
226
|
+
estimated from each request's own percentiles, weighted by its samples (within about 10% of the true values on mixed
|
|
227
|
+
fast and slow requests); the run says they are estimates.</p>
|
|
228
|
+
<p>To check how well your model writes a report's words, run <code>forgeqe prompts eval perf-report</code>: two cases (a broken
|
|
229
|
+
limit, a regression at another load) are scored on whether every sentence survives ForgeQE's check of the numbers.</p>
|
|
230
|
+
<p><strong>A test strategy before the plans (PlanGenAI).</strong> <strong>Strategy</strong> on the Load tests tab, <code>forgeqe perf strategy "<what the tests are for>"</code>, or asking the agent drafts a performance test strategy: objectives, the user journeys and each
|
|
231
|
+
one's share of the load, the workload (users, ramp-up, think time), the tests to run (baseline, load, stress, soak,
|
|
232
|
+
spike) with their users and minutes, the limits, entry and exit criteria, risks, what to monitor and the test data
|
|
233
|
+
needed. The model sees your words and what the project has (its test environments and apps, the plans and their
|
|
234
|
+
requests, the loads earlier runs reached, the settings), and ForgeQE keeps only what the project has: a test
|
|
235
|
+
environment of env.yaml, never one named like production; a plan only one the folder has (else "to write"); numbers
|
|
236
|
+
within ForgeQE's bounds; no text that reads as an instruction or holds a credential. With no model, ForgeQE drafts it
|
|
237
|
+
from your words (the users, minutes and p95 you give; soak and spike tests when you say so). It is kept as
|
|
238
|
+
<code><perf.folder>/strategies/<id>.json</code> and <code>.md</code>. Nothing is written or run from it until a person approves it by typing
|
|
239
|
+
its id (on the page, or <code>forgeqe perf strategy approve <id></code> at a terminal); the approval holds only for the very
|
|
240
|
+
content approved, so a change since needs approving again. Then <strong>Write N plans</strong> (or <code>forgeqe perf strategy write <id></code>) has the coding agent write, check and smoke-run a plan for each journey that has none.</p>
|
|
241
|
+
<p><strong>Converting LoadRunner scripts (ScriptBridge).</strong> <strong>Convert</strong> on the Load tests tab, <code>forgeqe perf convert <vugen-folder> --name <name></code>, or the agent's perf_convert turns a LoadRunner VuGen <strong>Web (HTTP/HTML)</strong> script into a
|
|
242
|
+
JMeter plan, by code: <code>web_url</code>, <code>web_submit_data</code> and <code>web_custom_request</code> become requests (<code>web_add_header</code> and
|
|
243
|
+
<code>web_add_auto_header</code> their headers), <code>web_reg_save_param</code> and <code>_ex</code>/<code>_regexp</code> extractors, <code>web_reg_find</code> text checks,
|
|
244
|
+
<code>lr_start_transaction</code> Transaction Controllers, <code>lr_think_time</code> timers and <code>lr_save_string</code> variables. Parameters
|
|
245
|
+
(<code>.prm</code> and their <code>.dat</code> tables) become CSV Data Sets, the tables copied beside the plan. <code>vuser_init</code> runs once per
|
|
246
|
+
user and <code>vuser_end</code> after the test. Each recorded host becomes an app of the environment: the start app's own host
|
|
247
|
+
as it is, others with <code>--map https://old.host=APP</code>. A password, an <code>lr_decrypt</code> value or a credential written in a
|
|
248
|
+
header becomes <code>${__P(secret.LR_NAME)}</code>, a secret you add to env.yaml. The script is read as data and never compiled
|
|
249
|
+
or run; C logic, <code>web_link</code>, binary bodies and protocols other than Web are listed as not converted in
|
|
250
|
+
<code><name>.conversion.md</code>, and <strong>Finish</strong> (or <code>forgeqe perf write "Finish <plan>…" --plan <plan></code>) has the coding agent
|
|
251
|
+
convert them. The plan then passes the same check as any other before it runs.</p>
|
|
252
|
+
<p><strong>Forecasting loads not run (PerfPredictModel).</strong> Run a plan at three or more loads (<code>forgeqe perf steps <plan> --users 10,25,50,100</code>, one run each), then <strong>Forecast</strong> on the plan (or <code>forgeqe perf predict <plan></code>). ForgeQE fits
|
|
253
|
+
the Universal Scalability Law to the newest run at each load (throughput against users, with the think time from the
|
|
254
|
+
runs) and the response time law, and gives for other loads the requests per second and p95 with a range, the peak (the
|
|
255
|
+
load where throughput stops rising) and the most users within the p95 limit. Each forecast says how far to trust it:
|
|
256
|
+
within the loads run, near (up to 1.5x the highest), far (up to 2x), or direction only beyond. A fit that does not hold
|
|
257
|
+
(R² under 0.8, too few loads) is said, not hidden. This is a model of the runs, on that environment: confirm the load
|
|
258
|
+
that matters with a run.</p>
|
|
259
|
+
<p><strong>What the servers saw (LogAnalyser).</strong> <strong>Servers</strong> on a run (or <code>forgeqe perf analyse <plan> [run]</code>, or the agent's
|
|
260
|
+
perf_analyse) reads the project's APM for the run's window, a minute either side: Application Insights
|
|
261
|
+
(<code>integrations.appinsights</code>) or Datadog (<code>integrations.datadog</code>). It reads the server operations (count, failures, p50,
|
|
262
|
+
p95), the dependencies by type and target (databases, HTTP calls, queues), and the exceptions by type and operation;
|
|
263
|
+
each JMeter request is matched to its operation by method and path shape (ids and variables as wildcards), and a slow
|
|
264
|
+
request says where its time went: in the service, or before it (network, gateway, load balancer). The queries carry only
|
|
265
|
+
the run's window, are sent only to the provider's own https address with no redirect, and what comes back is read as
|
|
266
|
+
untrusted text; the result is kept as <code>apm.json</code> beside the run and shown in the executive report. APM data arrives a
|
|
267
|
+
few minutes late: a run that just ended says so.</p>
|
|
268
|
+
<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 perf strategy "Black Friday: checkout and search must hold 500 users with p95 under 1 s"
|
|
269
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy approve black-friday-checkout-and-search
|
|
270
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy write black-friday-checkout-and-search
|
|
271
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
272
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
273
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf predict checkout.jmx --users 200,400 --p95-ms 800
|
|
274
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf analyse checkout.jmx
|
|
275
|
+
</span></span></code></pre></div>
|
|
276
|
+
</div>
|
|
277
|
+
</section>
|
|
278
|
+
</div>
|
|
123
279
|
<article class="spec feat" id="cap-accessibility-performance">
|
|
124
280
|
<div class="hd"><span class="mono">Quality</span><h3>Accessibility and page performance</h3></div>
|
|
125
281
|
<p class="ds">Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page.</p>
|
|
126
282
|
<div class="facts">
|
|
127
283
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Is the checkout page accessible?</li><li>Did page performance get worse this week?</li></ul></div>
|
|
128
284
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run (from browser_run or run_test_cases); new runs need a live model</span></li></ul></div>
|
|
129
|
-
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users.</li></ul></div>
|
|
285
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users (that is load-testing, with JMeter).</li></ul></div>
|
|
130
286
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>quality_report</code> <code>quality_trends</code></p></div>
|
|
131
287
|
</div>
|
|
132
288
|
|
|
@@ -518,7 +674,7 @@ has.</p>
|
|
|
518
674
|
<a class="next" href="../area-desktop/index.html"><small>Next</small><span>Desktop apps</span></a>
|
|
519
675
|
</nav>
|
|
520
676
|
</main>
|
|
521
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></aside>
|
|
677
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-load-testing">Load testing with JMeter</a></li><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></aside>
|
|
522
678
|
</div>
|
|
523
679
|
<footer class="foot">
|
|
524
680
|
<div class="container foot__row">
|
|
@@ -419,6 +419,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
419
419
|
<tr><td data-label="Command"><code>forgeqe report <file|folder>... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td data-label="What it does">report.html from JUnit XML or TRX run outside ForgeQE (see <a href="../area-automated-tests/index.html#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
|
|
420
420
|
<tr><td data-label="Command"><code>forgeqe a11y "<goal>" --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]</code>, <code>forgeqe a11y personas</code></td><td data-label="What it does">Accessibility testing as personas (see <a href="../area-quality/index.html#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
|
|
421
421
|
<tr><td data-label="Command"><code>forgeqe persona [list] | show | create | export | import</code></td><td data-label="What it does">Business personas (see <a href="../area-test-cases/index.html#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
|
|
422
|
+
<tr><td data-label="Command"><code>forgeqe requirements review | list | show | fix | accept | skip | undo | export</code></td><td data-label="What it does">Requirement reviews (see <a href="../area-test-cases/index.html#doc-how_to_use-requirement-reviews">Requirement reviews</a>)</td></tr>
|
|
422
423
|
<tr><td data-label="Command"><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run <pack> <flag=v1,v2> --env NAME</code></td><td data-label="What it does">A regression pack once per feature-flag combination (see <a href="../area-release/index.html#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
|
|
423
424
|
<tr><td data-label="Command"><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td data-label="What it does">Defect trends, and where a change is likely to cause defects</td></tr>
|
|
424
425
|
<tr><td data-label="Command"><code>forgeqe api load|mock|security|heal|list [SET] …</code></td><td data-label="What it does">Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets</td></tr>
|
|
@@ -162,6 +162,31 @@
|
|
|
162
162
|
<p><strong>Addresses as given.</strong> 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>
|
|
163
163
|
<p><strong>Fixing a case that does not fit.</strong> 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. It 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>
|
|
164
164
|
</div></section>
|
|
165
|
+
<section class="doc sub" id="doc-how_to_use-requirement-reviews"><h5>Requirement reviews</h5><div class="prose"><p>The <strong>Requirements Agent</strong> (the <code>Requirement_Agent</code> package, shipped inside ForgeQE) reviews a requirement before it is
|
|
166
|
+
built and tested. Eight specialist roles (analyst, product manager, product owner, architect, developer, QA, scrum
|
|
167
|
+
master and a coordinator) and the <strong>business personas</strong> you pick each review it, with what ForgeQE knows about the
|
|
168
|
+
product:</p>
|
|
169
|
+
<ul>
|
|
170
|
+
<li>the sections of <code>.forgeqe/knowledge</code> and of the documents added in Settings that are about it;</li>
|
|
171
|
+
<li>the <code>rag:</code> search (a service, a command, an MCP server's tool or the project's documents), when one is set;</li>
|
|
172
|
+
<li>the product knowledge graph's flows, screens, endpoints and tables it touches;</li>
|
|
173
|
+
<li><strong>review memory</strong>: what earlier reviews decided (<code>.forgeqe/requirements/memory</code>), kept to and never asked again.</li>
|
|
174
|
+
</ul>
|
|
175
|
+
<p>It scores the requirement on six dimensions (completeness, clarity, testability, risk and NFRs, traceability,
|
|
176
|
+
dependencies), lists its gaps and open questions, and writes the Spec Circuit report and a requirements report with ids
|
|
177
|
+
(<code>FR-001</code>, <code>NFR-001</code>) and <code>requirements.json</code>, which test cases trace to. For each gap or question it proposes a change
|
|
178
|
+
to the section it is about; you keep it (and the decision is remembered), leave it, or answer and ask again.</p>
|
|
179
|
+
<p>On the web app's <strong>Requirements</strong> page (Quality Engineering › Test design), or in a terminal:</p>
|
|
180
|
+
<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 requirements review --title "Card refunds" --design-file story.md --persona payments-sme,retail-customer
|
|
181
|
+
</span></span><span class="ln"><span class="cmd">forgeqe requirements show <id>
|
|
182
|
+
</span></span><span class="ln"><span class="cmd">forgeqe requirements fix <id> 3 --answer "p95 under 300 ms"
|
|
183
|
+
</span></span><span class="ln"><span class="cmd">forgeqe requirements accept <id> --rescore
|
|
184
|
+
</span></span><span class="ln"><span class="cmd">forgeqe requirements undo <id>
|
|
185
|
+
</span></span><span class="ln"><span class="cmd">forgeqe requirements export <id>
|
|
186
|
+
</span></span></code></pre></div>
|
|
187
|
+
<p>Reviews are kept in <code>.forgeqe/requirements/reviews/<id>/</code>. The agent runs in the engine's Python on the model ForgeQE
|
|
188
|
+
uses (<code>forgeqe setup</code> adds its libraries); everything it reads is handed to the model as data in blocks it cannot close.</p>
|
|
189
|
+
</div></section>
|
|
165
190
|
<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>
|
|
166
191
|
<div class="tbl tbl--cols-4"><table>
|
|
167
192
|
<thead>
|