<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pramud Pasqual on Medium]]></title>
        <description><![CDATA[Stories by Pramud Pasqual on Medium]]></description>
        <link>https://medium.com/@pasqualpramud?source=rss-62e374f0f7d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qGD6ySULQEEwwLGVTpZlmw.png</url>
            <title>Stories by Pramud Pasqual on Medium</title>
            <link>https://medium.com/@pasqualpramud?source=rss-62e374f0f7d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:12:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pasqualpramud/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Quality Engineering After the Hype | PART 6 OF 6]]></title>
            <link>https://medium.com/@pasqualpramud/quality-engineering-after-the-hype-part-6-of-6-521c9c32f627?source=rss-62e374f0f7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/521c9c32f627</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[ai-governance]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <category><![CDATA[qa-career]]></category>
            <dc:creator><![CDATA[Pramud Pasqual]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 10:11:37 GMT</pubDate>
            <atom:updated>2026-11-25T10:18:00.282Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Human Side: Governance, Risk, and Your Next Career</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zs_d3tLSllNJMNV-.png" /></figure><p>An auditor opens your release record and asks two questions. Who approved this release? On what evidence?</p><p>Your pipeline has an answer to the first: an agent. The second takes longer, because the evidence sits in a model nobody versioned, a prompt nobody saved, and a self-healed test nobody reviewed.</p><p>Article 5 ended on a question: who owns the approvals? This final article answers it through organizations, standards, and people.</p><h4>Organizational Risks</h4><p>AI in testing carries three organizational risks. Each follows from a decision someone makes outside the pipeline.</p><p><strong>Proprietary data leaks and IP exposure.</strong> Sending internal source code, unreleased product specs, or sensitive database records to a third-party LLM API can violate data protection regulations or expose intellectual property. This is the privacy barrier from Article 1, now with a mitigation menu: enterprise data-isolation agreements, zero-data-retention API endpoints (the provider stores nothing after it responds), or locally hosted open-source model weights.</p><p><strong>Vendor lock-in and cost volatility.</strong> Leaning on proprietary external models exposes teams to breaking API schema changes, unexpected model deprecation, and fluctuating token pricing. The golden datasets from Article 3 soften the blow: with them in hand, you can re-score a replacement model quickly.</p><p><strong>Automation bias and blind trust.</strong> The research note calls this a dangerous psychological risk. Engineers assume AI-generated test suites are fully comprehensive, approve superficial tests without verification, and leave critical architectural logic unvalidated. Picture a driver who follows a GPS into a lake. The analogy breaks on visibility: the driver sees the water, while a coverage gap shows up nowhere. The antidotes are Article 2’s review checklist and Article 5’s human approvals.</p><p>Those are the risks. Standards turn them into auditable practice.</p><h4>The Standards Landscape</h4><p>Organizations align their AI testing with global standards to build auditable quality management systems. Four frameworks matter.</p><p><strong>ISO/IEC 42001</strong> is a certifiable international standard for an Artificial Intelligence Management System (AIMS), a structured way to govern AI inside an organization. For quality engineering, four pieces carry the weight:</p><ul><li>Context and scope. Document every internal AI application, classify whether the organization acts as an AI provider, producer, or deployer, and define boundaries for automated testing tools.</li><li>AI system impact assessment (AIIA). A formal assessment, as described in ISO/IEC 42005, of the harms, bias risks, and failure modes of autonomous testing agents or automated release gating.</li><li>Lifecycle controls (Annex A: 38 controls across nine objectives). Operational controls for AI tools, dataset provenance records, and audits of model validation results.</li><li>Statement of Applicability (SoA). An auditable record of which controls the organization includes and excludes across AI development, test execution, and deployment monitoring.</li></ul><p>Think of a fire-safety program: define the building, assess the risks, install the controls, and document which rules apply. The analogy breaks on outcomes. The standard audits your management process, not each individual release.</p><p><strong>EU AI Act.</strong> It works alongside ISO/IEC 42001 but carries legally binding requirements for AI deployed in European markets. High-risk classifications demand strict technical documentation, continuous post-market quality surveillance, continuous logging, and human oversight mechanisms. Check the calendar, though: the EU’s Digital Omnibus pushed the high-risk deadlines back to December 2027 for stand-alone high-risk systems and August 2028 for AI embedded in regulated products. Confirm current dates with official EU sources, because they have moved before.</p><p><strong>NIST AI Risk Management Framework (AI RMF).</strong> Released in January 2023 and voluntary, it structures guidance around four functions: Map, Measure, Manage, and Govern AI risks.</p><p><strong>ISO/IEC 23053</strong> defines a framework for describing AI systems that use machine learning, including their components and functions. It gives teams a shared vocabulary, not a trustworthiness checklist.</p><p>Standards say what you must prove. A playbook says how.</p><p>A Governance Playbook</p><p>Quality engineering organizations satisfy audits with three auditable practices.</p><ul><li>Traceability matrix. Maintain bidirectional links between business requirements, user stories, AI-generated test scenarios, and execution logs. From any requirement, you can find its tests, and from any test you can find its requirement.</li><li>Version-controlled model cards. For every production build, record the model weights, prompt templates, temperature settings, RAG index versions, and evaluator judge rubrics. These are the knobs behind the output variation Article 3 described, so recording them lets you explain a result later.</li><li>Human-in-the-loop sign-off checkpoints. Require human approval before agent-proposed code patches, self-healed test baselines, or final release gate overrides reach production. This is Article 5’s fifth guardrail, written down as policy.</li></ul><p>Now return to the auditor. The matrix supplies the evidence, the model card shows exactly what ran, and a named person signed the approval. Both questions have answers.</p><h4>The Competency Map</h4><p>To stay effective in an AI-accelerated landscape, quality engineers need five competencies. You have already met most of them in this series.</p><ol><li>AI evaluation and metric literacy. Design statistical evaluation frameworks, assess non-deterministic outputs, and apply tools such as DeepEval, Promptfoo, and Ragas (Article 3).</li><li>Statistical hypothesis testing and data analytics. Work with confidence intervals, statistical power, sample-size selection, and SPRT (Article 3).</li><li>Prompt and context architecture engineering. Craft precise system prompts, optimize RAG retrieval strategies, and design structured evaluation rubrics (Articles 2 and 4).</li><li>AI security and adversarial red-teaming. Find prompt injections, jailbreaks, data leakage, and unauthorized tool calls (Articles 3 and 5).</li><li>Regulatory compliance and governance auditing. Understand ISO/IEC 42001, the EU AI Act, and the NIST AI RMF well enough to ensure technical compliance across automated testing workflows (this article).</li></ol><p>None of the five requires leaving testing. Each extends it. Start with the one where you feel weakest.</p><h4>Emerging Career Paths</h4><p>These competencies are forming specialized roles around AI-driven delivery.</p><ul><li>AI Quality Evaluation Engineer. Authors golden datasets, designs evaluation rubrics, calibrates LLM-as-a-Judge scoring systems, and monitors continuous model drift.</li><li>Continuous Quality Platform Architect. Designs enterprise-wide CI/CD delivery pipelines, embeds agentic testing frameworks, and builds self-healing automation infrastructure.</li><li>AI Safety and Security QA Specialist. Runs adversarial red-teaming, evaluates model guardrails, prevents prompt injection vulnerabilities, and ensures compliance with data privacy regulations.</li><li>Enterprise Quality Governance Lead. Oversees compliance with standards such as ISO/IEC 42001, manages risk registers, conducts impact assessments, and ensures transparent human oversight of automated release systems.</li></ul><p>Each role grows from a competency you can start building this week.</p><h4>Conclusion: Humans and AI, Together</h4><p>The evidence in this series does not describe a decline of quality engineering. It describes a mature elevation of the role: from reactive, manual script authors to strategic quality architects, continuous evaluation engineers, and product risk guardians.</p><p>Here is the arc: evidence that AI transforms the role (Article 1), a continuous guardrail in place of a release gate (Article 2), statistics for testing AI itself (Article 3), the machinery underneath (Article 4), limits on autonomy (Article 5), and people and accountability at the center (Article 6).</p><p>The division of labor is clear. AI engines provide speed, broad test execution, scale, and pattern recognition. Human quality engineers supply contextual domain intuition, risk judgment, user empathy, exploratory reasoning, and ethical governance oversight. Organizations that combine both will achieve high delivery velocity and robust product reliability.</p><p><strong>What to do Monday morning:</strong> choose one of the five competencies and block one hour this week to practice it. If you start nowhere else, start with the review checklist from Article 2.</p><p>If this series helped, subscribe to follow what comes next, and share it with one QA colleague who is asking the Article 1 question. <strong><em>“Will AI Replace QA Engineers?”</em></strong></p><p><em>Originally published at </em><a href="https://pramudpasqual.substack.com/p/quality-engineering-after-the-hype-f7f?r=9ehjfv&amp;utm_campaign=post-expanded-share&amp;utm_medium=web"><em>https://pramudpasqual.substack.com</em></a><em> on November 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=521c9c32f627" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality Engineering After the Hype | PART 5 OF 6]]></title>
            <link>https://medium.com/@pasqualpramud/quality-engineering-after-the-hype-part-5-of-6-b57fb98bc895?source=rss-62e374f0f7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b57fb98bc895</guid>
            <category><![CDATA[ai-testing]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <category><![CDATA[aiguardrails]]></category>
            <dc:creator><![CDATA[Pramud Pasqual]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 07:24:10 GMT</pubDate>
            <atom:updated>2026-11-24T08:06:47.129Z</atom:updated>
            <content:encoded><![CDATA[<h4>Agentic QA: Autonomy, Tooling, and Guardrails</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TQzPKfjbsc_B-JsS.png" /></figure><p>A test agent receives one instruction: verify that checkout works. It tries a card, then a refund, then a subscription upgrade. Nobody told it to try the last two. The staging environment shares a payment gateway with production, and by lunch forty real customers hold confirmation emails for orders they never placed.</p><p>The agent did exactly what it was built to do: pursue a goal. Article 4 opened the machinery. This article covers what happens when that machinery acts on its own, and how to keep it on a leash.</p><h4>From Assistants to Agents</h4><p>First-generation AI assistants wait for a human prompt and return a static code snippet. Agentic QA frameworks work differently. Humans define high-level goals, system boundaries, and success criteria. Autonomous multi-agent systems then plan the steps, interact with application interfaces, inspect responses, evaluate outputs, and adapt their path as they go. This is intent-based testing: you state what must be true, not which buttons to click.</p><p>Compare a checklist-following intern with a colleague handed a goal. The intern runs step 14 even after step 13 failed. The colleague notices, works around it, and tells you what changed. The analogy breaks on judgment: the colleague knows which actions are dangerous, while an agent knows only what its tools and rules allow. The risks section returns to that gap.</p><p>Article 4 flagged the limit that matters here: models plan poorly over long horizons. Agentic systems cope by splitting the work among specialists.</p><h4>Anatomy of a Multi-Agent System</h4><p>Advanced implementations divide the testing lifecycle into specialized roles. Think of a small newsroom with a writer, a field reporter, a copy editor, and a fact-checker.</p><ul><li><strong>Test Generation Agent (TGA), the writer.</strong> It analyzes updated source commits, database schemas, and feature criteria, then generates executable scenarios in Arrange-Act-Assert (AAA) structure: set up the state, perform the action, check the result.</li><li><strong>Execution and Analysis Agent (EAA), the field reporter.</strong> It works inside isolated sandbox containers. It runs the synthesized suites, drives headless browsers (browsers without a visible window), calls backend APIs, monitors resource usage, and captures statement and branch coverage (the share of code lines and decision paths the tests touch).</li><li><strong>Refinement and Healing Agent (RHA), the copy editor.</strong> It activates when a test fails. It reads the logs to tell application bugs from environment timeouts and locator changes. If a locator or flow changed, it updates the test steps to keep the suite stable.</li><li><strong>Agent-as-a-Judge, the fact-checker.</strong> It validates application outputs semantically and behaviorally against business logic, safety rules, and consistency metrics. This is Article 3’s LLM-as-a-Judge promoted to a pipeline role, and it inherits the same biases and calibration needs.</li></ul><p>Notice the RHA’s first job: classify the failure. A timeout is no reason to rewrite a test, and an application bug is no reason to heal one. Misclassification is where healing turns dangerous. Agents also lean on Article 4’s retrieval and persistent memory to remember the product between sprints.</p><p>The newsroom analogy fits the division of labor and breaks on accountability. A newsroom has an editor-in-chief. In agentic QA, that role belongs to you, a point Article 6 develops.</p><h4>Self-Healing 2.0</h4><p>Traditional automation depends on brittle locator paths such as XPath, CSS selectors, and ID attributes, which break when a layout is refactored. Classic self-healing (Article 2) repairs a broken selector by trying alternative DOM attributes. Agentic self-healing works from intent: the agent evaluates the page’s visual canvas and semantic structure against its functional objective.</p><p>Take a checkout flow refactored from a multi-page wizard into a single page. A locator-based script fails at step two because that screen no longer exists. Selector repair mends a locator; it does not re-plan a workflow. An agentic framework recognizes that the workflow changed, re-plans its action sequence, completes the purchase, and logs the structural changes for engineering review.</p><p>That last clause matters. A healed test is a changed test, so the log is the audit trail. Without review, an agent can heal around a real layout bug and report a pass. The next section treats that risk and its two siblings.</p><h4>Risks and Guardrails</h4><p>Autonomy introduces three risks that demand firm governance guardrails.</p><ul><li><strong>Unintended side effects in external systems.</strong> Agents with tool-calling capabilities, such as database execution, API integration, or payment gateway testing, can trigger unrecoverable real-world effects. An agent testing an e-commerce platform could book non-refundable services, send customer notifications, or alter production state if staging is improperly isolated. The opening scenario shows how.</li><li><strong>False feedback loops and hallucinated approvals.</strong> If an evaluation agent misreads failure conditions, it marks invalid behavior as passing. The resulting false-positive loops let subtle defects ride through CI/CD.</li><li><strong>Cost and compute escalation.</strong> Unbounded planning loops trigger continuous LLM reasoning chains, consume millions of input and output tokens, and inflate compute bills.</li></ul><p>Five guardrails answer them:</p><blockquote><em>1. Sandbox the agent runtime environment.</em></blockquote><blockquote><em>2. Restrict access to financial and production-database tools.</em></blockquote><blockquote><em>3. Cap the maximum number of reasoning steps per task.</em></blockquote><blockquote><em>4. Set token budget ceilings.</em></blockquote><blockquote><em>5. Require human approval before the agent modifies baseline test artifacts or executes state-altering external commands.</em></blockquote><p>The first two contain side effects. The middle two contain runaway cost. The fifth, together with Article 3’s judge calibration, catches false approvals. Think of handing a new contractor keys to one room instead of the whole building, with a spending limit, a time limit, and sign-off on structural changes. The analogy breaks because a contractor fears consequences and an agent does not, so the system itself must enforce the limits. Article 6 turns the fifth guardrail into formal policy.</p><h4>The Tooling Landscape</h4><p>Five categories of tools put these ideas to work. The names below are examples, not endorsements, and the market moves fast: one copilot in this table changed its name twice in 14 months.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufdam6EPmetf5glWYyQWeQ.jpeg" /></figure><p>Read the limitations column as a test plan: each entry is a failure mode to probe before you adopt a tool. The evaluation suites are Article 3 made executable.</p><h4>A Reference Pipeline</h4><p>Four gates place those tools in sequence.</p><ol><li><strong>Pre-commit.</strong> Fast static evaluation, such as Promptfoo, checks that prompt changes carry no security regressions. Copilots draft local unit tests.</li><li><strong>CI build gate.</strong> Auto-generated API regression suites (Keploy) and parallelized agentic smoke tests run in isolated container sandboxes to confirm foundational system integrity.</li><li><strong>Staging gate.</strong> Full evaluation suites (DeepEval, Ragas) run on non-deterministic features, compute SPRT pass bounds (Article 3), and block the release automatically if quality falls below target.</li><li><strong>Post-deployment.</strong> Production telemetry streams into AI observability platforms (LangSmith) to audit hallucination rates and output drift. Production failure patterns flow back into the golden evaluation datasets.</li></ol><p>The last step closes the loop: yesterday’s production failure becomes tomorrow’s test. This is Article 2’s five stages with agents added, and with guardrails around them.</p><h4>Takeaway</h4><p>Agents give QA speed and reach, and the guardrails give you control. Autonomy without limits is a liability.</p><p><strong>What to do Monday morning:</strong> list every tool any test agent in your pipeline can call. Mark each one that can change state outside a sandbox, and put a human approval in front of it.</p><p>Next up: who owns those approvals, and which standards and skills does the job require? Article 6 covers governance, risk, and your next career move.</p><p><em>Originally published at </em><a href="https://pramudpasqual.substack.com/p/quality-engineering-after-the-hype-6d4?r=9ehjfv&amp;utm_campaign=post-expanded-share&amp;utm_medium=web"><em>https://pramudpasqual.substack.com</em></a><em> on November 24, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b57fb98bc895" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality Engineering After the Hype | PART 4 OF 6]]></title>
            <link>https://medium.com/@pasqualpramud/quality-engineering-after-the-hype-part-4-of-6-522adeb3029d?source=rss-62e374f0f7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/522adeb3029d</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[ai-architecture]]></category>
            <category><![CDATA[ai-quality-engineering]]></category>
            <dc:creator><![CDATA[Pramud Pasqual]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 06:45:43 GMT</pubDate>
            <atom:updated>2026-11-23T06:57:11.453Z</atom:updated>
            <content:encoded><![CDATA[<h4>Under the Hood: Architectures Behind AI Testing Tools</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jVvr4FgmkdH6gJH-.png" /></figure><p>Your AI assistant drafts a test that calls cart.applyLoyaltyBonus(). That method does not exist anywhere in your codebase. You could delete the test and move on. Or you could ask why the model invented it, and which fix prevents the next invention.</p><p>The second question needs a look under the hood: how the tools work, at the level a tester needs. Every design has a failure mode, and knowing the design tells you where to look.</p><h4>Why Architecture Matters to a Tester</h4><p>Modern QA platforms are not one model. They combine large language models, retrieval-augmented generation (RAG), fine-tuned code transformers, classical statistical algorithms, and hybrid verification architectures. Each layer has its own strengths and its own way of failing, so knowing the mechanism tells you what to trust and what to verify. This article covers mechanism only, in four layers: the generator (transformers), the grounding layer (RAG), the diagnostician (classical machine learning), and the specialist (fine-tuned models). A look at what comes next closes the piece.</p><h4>Transformers in Plain English</h4><p>Transformers underpin contemporary language and code models. Their core engine is self-attention, a mechanism that lets every token (a word or code fragment) weigh how relevant every other token is to its meaning. The mathematics fits on one line, but three ingredients carry the idea. Each token produces a query (what it is looking for), a key (what it offers), and a value (the content it passes along). The model compares each query with every key, turns the match scores into weights, and blends the values accordingly.</p><p>Picture a library. Your query is your search phrase, the keys are the catalog entries, and the values are the books. Attention hands you a weighted blend of many books, with the best matches counting most. The analogy breaks in one place: a librarian picks a few books, while attention blends everything at once, in different proportions.</p><p>In QA, the tokens come from user stories, test steps, code syntax, and terminal logs. Attention lets the model connect “expired discount code” in a story to the validation function in another file.</p><p>Literature reviews of LLMs in software engineering credit transformers with three strengths:</p><ol><li>Semantic understanding across natural-language specifications and multi-language code bases.</li><li>Story-to-test mapping: turning user stories into functional test logic.</li><li>Log parsing: reading unformatted application logs and suggesting structured bug reports.</li></ol><p>A scoping review of LLMs in software testing lists four weaknesses:</p><ol><li>Hallucination of non-existent methods or assertions. This explains the opening scenario. The model generates plausible tokens, not verified facts.</li><li>Context window attenuation. The context window is the amount of text a model reads at once. Edge-case rules buried in the middle get overlooked, so place critical rules at the start or end of a prompt.</li><li>Sensitivity to prompt formulation. Rewording a request changes the result. This is one more reason Article 3’s evaluation suites exist.</li><li>Poor long-horizon procedural planning. Models stumble on plans with many dependent steps, a limit that matters in Article 5.</li></ol><p>Hallucination has a standard countermeasure: hand the model the facts.</p><h4>RAG for QA</h4><p>Retrieval-augmented generation grounds a model’s output in your actual system. Modern QA engines use it to counter transformer hallucinations. Four steps make up the loop.</p><ol><li>Ingest: The pipeline collects source repositories, API specifications, Jira user stories, design documents, and historical defect logs.</li><li>Embed: Deep encoder models convert each artifact into a vector embedding, a list of numbers that represents meaning. Similar meanings land close together. The embeddings are indexed in a vector database.</li><li>Retrieve: When a testing agent must generate tests or triage a build failure, the framework queries the index using semantic similarity search, often measured by cosine similarity (the angle between two embedding vectors; a small angle means similar meaning). It extracts the relevant code blocks, architectural rules, and acceptance criteria.</li><li>Ground: The pipeline injects that material into the LLM’s system prompt, so generated test cases, assertions, and mocks rest on verified specifications.</li></ol><p>Suppose a checkout test fails. The pipeline retrieves the discount-code acceptance criteria and last release’s defect log, and the model reasons from those documents instead of guessing.</p><p>Think of a librarian who files books by meaning rather than alphabet, and who pulls the five most relevant pages before you start writing. The analogy has limits: retrieval can still return the wrong pages, and the model can still misread the right ones. RAG reduces hallucination; it does not remove it. That is why Article 3’s groundedness checks matter, and why Article 5 returns to retrieval when agents need memory.</p><p>Not every job needs a language model, though.</p><h4>Classical ML Still Does the Heavy Lifting</h4><p>While transformers handle generative language tasks, classical machine learning performs critical diagnostic work in enterprise QA stacks. These models read structured telemetry, not prose.</p><ul><li>Flaky test identification: A flaky test passes and fails without any code change. Decision trees, random forests, and gradient-boosted machines (ensembles of many small decision models) analyze historical CI/CD telemetry, such as execution durations, timing variations, commit histories, and runner environments, to predict flakiness before a build runs.</li><li>Defect log clustering: DBSCAN (which groups points that sit densely together and flags loners as noise) and K-Means (which sorts points into K groups around central points) cluster thousands of runtime exceptions into root-cause groups. Clustering works like sorting laundry: one pile per cause, and one ticket per pile instead of one per sock. The result is less redundant bug ticketing, the log clustering Article 2 introduced.</li><li>Metric drift detection: Statistical process control models and Isolation Forests (which flag a data point as odd when few random cuts isolate it) monitor production performance and raise alerts on anomalies in latency distributions and error rates.</li></ul><p>Enterprise QA stacks still depend on these older techniques.</p><h4>Fine-Tuned vs. Zero-Shot Models</h4><p>Teams building AI testing tools face a core choice. General-purpose frontier models, such as GPT-4o and Claude 3.5 Sonnet (the research note’s examples, now earlier generations), work through zero-shot or few-shot prompting, meaning the model gets instructions with zero or a few examples and no extra training. Specialized code models, fine-tuned on dedicated testing corpora, take the other path.</p><p>Research surveys report that models fine-tuned on pairs of programs under test (PUT) and their unit suites tend to produce more syntactically valid tests, reach higher branch coverage, and show fewer test smells (patterns that signal poorly written tests) than general models. Tools in this family build on code-focused base models such as CodeLlama and StarCoder, and the lineup changes fast. The evidence here is thinner than elsewhere in this article, so treat the pattern as a tendency, not a law.</p><p>Frontier models keep their own edge. They reason better about requirements analysis, high-level test strategy, and complex exploratory reasoning. Match the model to the job: specialists write unit tests, and generalists help you decide what to test.</p><h4>What’s Next</h4><p>The research points toward hybrids that combine complementary techniques:</p><blockquote><em>* </em><strong><em>Multimodal visual-language perception.</em></strong><em> Models inspect rendered graphical interfaces directly, evaluate layouts, find cross-browser rendering defects, and interact with canvas elements without relying on DOM selectors.</em></blockquote><blockquote><em>* </em><strong><em>Hybrid neural-formal verification.</em></strong><em> An LLM proposes specifications, formal invariants, or boundary cases. A deterministic formal solver, such as an SMT solver or model checker, then mathematically verifies correctness.</em></blockquote><blockquote><em>* </em><strong><em>Persistent agent memory.</em></strong><em> Long-term memory state machines, structured knowledge graphs, and execution trace logs let testing agents retain product knowledge across multi-week development sprints.</em></blockquote><h4>Takeaway</h4><p>Know the engine: transformers generate, RAG grounds, classical ML diagnoses, and fine-tuning specializes. Each one has a failure mode you can test for.</p><p><strong>What to do Monday morning:</strong> pick one AI testing tool your team uses. Find out which of these four layers it relies on, and write down its most likely failure mode.</p><p>Next up: what happens when these pieces combine into agents that plan, act, and heal tests on their own? Article 5 covers the autonomy, the tooling, and the guardrails.</p><p><em>Originally published at </em><a href="https://pramudpasqual.substack.com/p/quality-engineering-after-the-hype-a2e?r=9ehjfv&amp;utm_campaign=post-expanded-share&amp;utm_medium=web"><em>https://pramudpasqual.substack.com</em></a><em> on November 23, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=522adeb3029d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality Engineering After the Hype | PART 3 OF 6]]></title>
            <link>https://medium.com/@pasqualpramud/quality-engineering-after-the-hype-part-3-of-6-977f9d20bdc0?source=rss-62e374f0f7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/977f9d20bdc0</guid>
            <category><![CDATA[non-deterministic-ai]]></category>
            <category><![CDATA[llm-as-a-judge]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[non-deterministic-testing]]></category>
            <category><![CDATA[owasp-api-security-top-10]]></category>
            <dc:creator><![CDATA[Pramud Pasqual]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 05:02:09 GMT</pubDate>
            <atom:updated>2026-11-22T05:18:44.565Z</atom:updated>
            <content:encoded><![CDATA[<h4>Testing the Untestable: QA for Non-Deterministic AI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wLvlF0D_SSs8rxF4.png" /></figure><p>You run a test against a support chatbot. It passes. You run the identical test again, with nothing changed. It fails. Is the test flaky, or is the product?</p><p>For a chatbot, neither label fits, because the product itself gives different answers to the same question. That breaks the oldest assumption in testing. Article 2 used AI as your instrument. This article turns AI into the object under test and asks how to verify a system that never answers the same way twice.</p><h4>Two Paradigms: Why Exact-Match Testing Breaks</h4><p>Conventional software is deterministic: given the same state and input, it returns the same result. That allows one exact check.</p><p>Assert(f(X) == Y)</p><p>Here <em>f</em> is the system under test, <em>X</em> is the starting state plus the input, and <em>Y</em> is the single expected result. The test passes when the output equals <em>Y</em> and fails otherwise. Think of a vending machine: press B4 and the same bag of chips drops every time. JUnit, PyTest, Playwright, and Cypress all work this way. In this world, AI improves efficiency (Article 2) and leaves the test logic untouched.</p><p>Non-deterministic systems produce non-identical outputs for identical inputs. LLM applications, retrieval-augmented generation (RAG) platforms (chatbots that look up documents before answering), multi-agent frameworks, and probabilistic recommendation engines all qualify. The variability comes from sampling temperature (a dial controlling how adventurous the word choice is), top-p nucleus configuration (a cap on which candidate words the model may pick), model weight updates, stochastic tool selection, and non-deterministic agent planning routes.</p><p>Ask a tutor the same question twice. Both answers are correct, and neither matches word for word. An exact-match assertion treats that as a failure, so it produces a flood of false alarms (failures that signal no real problem). The fix is a different toolkit: probabilistic evaluation, behavioral bounds, semantic equivalence scoring (do two answers mean the same thing?), and statistical hypothesis testing. A working practice organizes all of it.</p><h4>Evaluation-Driven Development</h4><p>Evaluation-Driven Development (EDD) adapts unit-testing principles to behavioral systems. It originated with complex AI and non-deterministic products. Before deployment or model tuning, quality engineers build four assets:</p><ol><li>Evaluation suites: automated batteries of scenarios.</li><li>Golden reference datasets: curated inputs paired with known-good outcomes.</li><li>Behavioral rubrics: written criteria for what counts as a good answer.</li><li>Probabilistic thresholds: the minimum pass rate or score you will accept.</li></ol><p>Teams version-control these alongside application code and run them automatically in CI/CD. On each build, the evaluation pipeline runs deterministic assertion checks alongside LLM-driven scoring models (LLM-as-a-Judge) or statistical property assertions, which check that a measurable property holds across a sample of outputs. If behavioral quality metrics, safety scores, latency profiles, or functional pass rates fall below their statistical thresholds, the pipeline blocks the release automatically. Quality validation stops being a manual sign-off gate and becomes a continuous guardrail, the shift Article 2 introduced.</p><p>Think of a school exam. The question set is the golden dataset, the marking scheme is the rubric, and the pass mark is the threshold. Every commit sits the exam.</p><p>That raises two questions. How many questions does the exam need, and how do you know the score is real? Statistics answers both.</p><h4><strong>The Statistics You Actually Need</strong></h4><p><strong>How many runs?</strong><br>Quality engineers use sample-size calculations grounded in statistical power analysis. The formulas below follow AgentAssay, a March 2026 preprint on testing non-deterministic AI agents, and the classical statistics behind it:</p><p>n* = ⌈ (z₁₋α/₂ + z₁₋β)² · 2p̂(1 − p̂) / δ² ⌉</p><p><em>α</em> is the significance level, your tolerance for false alarms. <em>1 − β</em> is statistical power, the chance of catching a real regression. <em>p̂</em> is the baseline pass rate. <em>δ</em> is the minimum detectable effect size, the smallest drop you care about. The <em>z</em> values come from a standard normal table for your chosen <em>α</em> and <em>β</em>; the 2 is a constant in the source paper’s formula for testing one version against a threshold, and the brackets round up. In plain terms: the smaller the change you want to detect, the more runs you need, and the cost grows with the square of how small it is. Spotting a coin that lands heads 55% of the time takes far more flips than spotting one that lands heads 90% of the time.</p><p>Example: baseline pass rate 90%, <em>δ</em> of 5 points, <em>α</em> of 0.05, <em>β</em> of 0.20. Plug in <em>z</em> values of 1.96 and 0.84, and you need about 566 runs per version.</p><p><strong>When is the score real?</strong><br>A pass rate from a sample carries error bars, like a poll’s margin of error:</p><p>CI = p̂ ± z₁₋α/₂ · √( p̂(1 − p̂) / n )</p><p><em>CI</em> is the confidence interval, the plausible range for the true pass rate, and <em>n</em> is the number of runs. The release rule: approve a build only when <em>CI_lower ≥ θ_target</em>, meaning the pessimistic end of the range still clears the quality threshold. A bridge engineer rates a bridge by its weakest plausible strength, not its average.</p><p>Example: 90 passes in 100 runs against a threshold of 85%. The interval runs from 84.1% to 95.9%. The lower bound misses 85%, so the build does not ship, even though 90 beats 85. The same 90% over 400 runs gives 87.1% to 92.9%, and the build ships. More evidence narrows the range.</p><p>A caution: this form is the Wald interval, which behaves poorly when pass rates sit near 0% or 100%, a common situation in QA. The Agresti-Coull interval handles those cases better, and so does the Wilson interval. At 95% confidence, add two phantom passes and two phantom failures before you compute.</p><p><strong>Can you stop early?</strong><br>Running 566 trials on every commit is expensive. Sequential Probability Ratio Testing (SPRT) lets the pipeline decide as evidence arrives:</p><p>Λₖ = Σᵢ₌₁ᵏ log( P(rᵢ | p₁) / P(rᵢ | p₀) )</p><p><em>rᵢ</em> is the result of run <em>i</em> (1 for pass, 0 for fail), <em>p₀</em> is the pass rate you consider healthy, <em>p₁</em> is the degraded rate you want to catch, and <em>Λₖ</em> is the running score after <em>k</em> runs. Every failure pushes the score up, and every pass pushes it down. Two lines decide the outcome: <em>a = log(β / (1 − α))</em> and <em>b = log((1 − β) / α)</em>. If <em>Λₖ ≤ a</em>, quality holds: pass and stop. If <em>Λₖ ≥ b</em>, a regression is detected: halt the pipeline. In between, keep sampling. A jury works the same way: it stops once the evidence is decisive.</p><p>Example: <em>p₀</em> of 90%, <em>p₁</em> of 80%, <em>α</em> of 0.05, <em>β</em> of 0.20. The lines sit at about −1.56 and +2.77. Each pass moves the score −0.12, and each failure moves it +0.69. Fourteen passes in a row clear the build, and four failures in a row halt it. A healthy build can clear in as few as 14 runs; mixed results take longer.</p><h4>LLM-as-a-Judge</h4><p>Some outputs resist arithmetic: chat replies, summaries, agent workflows. LLM-as-a-Judge deploys a strong model to score outputs against a multi-dimensional rubric. A rubric splits quality into weighted dimensions: accuracy and groundedness (do claims match the supplied source documents?), completeness, actionability and relevance, and safety, tone, and boundary compliance.</p><p>Judges carry three well-documented biases (Zheng et al., NeurIPS 2023) and a fourth that practitioners report:</p><ul><li>Verbosity bias: longer answers score higher regardless of accuracy.</li><li>Position bias: in pairwise comparison, with response A versus response B, the response shown first wins more often.</li><li>Self-preference bias: models rate outputs from their own model family higher.</li><li>Sentiment bias (less studied): agreeable or authoritative tone beats concise accuracy.</li></ul><p>Each has a countermeasure. Normalize response length. Swap positions, judging A/B and B/A and averaging. Use multi-judge panels that combine models from different provider families. Then calibrate against human experts: compare judge scores with a golden reference set using Cohen’s Kappa (agreement between two raters beyond what chance produces) and Spearman rank correlation (how closely two rankings match). Treat a judge like a new hire: check its grading against a senior reviewer’s before you trust it. Article 5 returns to judges that operate as agents.</p><h4>Security and Red-Teaming</h4><p>Non-deterministic systems add a security discipline. Quality engineers conduct adversarial red-teaming: deliberately attacking the system to expose vulnerabilities. The targets:</p><ul><li>User Prompt Injection Attacks (UPIA): the prompt injection from Article 1, aimed at your product. Hostile text in user input hijacks the model’s instructions.</li><li>System instruction bypass: coaxing the model past its hidden rules.</li><li>Jailbreaks: prompts that strip away safety guardrails.</li><li>Data exfiltration: tricking the system into leaking sensitive data.</li><li>Excessive agent authorization: an agent holds more permissions than its task needs.</li></ul><p>The OWASP Top 10 for LLM Applications supplies a working checklist; use the current edition, since the list is revised regularly. Classic security testing checks the locks on the doors. LLM red-teaming tests whether a persuasive visitor can talk the doorman into opening them.</p><h4>Summary Comparison</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c1m59WnqD1ve5UaZc1LQDg.jpeg" /></figure><h4>Takeaway</h4><p>Testing AI replaces one exact answer with evidence: golden datasets, enough runs, honest error bars, and judges you have audited.</p><p><strong>What to do Monday morning:</strong> Pick one AI feature, write 20 golden examples, run each ten times, and compute the pass rate with an interval.</p><p>Next up: Why do models behave this way? Article 4 opens the machinery behind these tools.</p><p><em>Originally published at </em><a href="https://pramudpasqual.substack.com/p/quality-engineering-after-the-hype-151?r=9ehjfv&amp;utm_campaign=post-expanded-share&amp;utm_medium=web"><em>https://pramudpasqual.substack.com</em></a><em> on November 22, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=977f9d20bdc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality Engineering After the Hype | PART 2 OF 6]]></title>
            <link>https://medium.com/@pasqualpramud/quality-engineering-after-the-hype-part-2-of-6-9ea9d994baf5?source=rss-62e374f0f7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ea9d994baf5</guid>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[shift-left-testing]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai-in-qa]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Pramud Pasqual]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 06:31:18 GMT</pubDate>
            <atom:updated>2026-11-22T04:16:55.427Z</atom:updated>
            <content:encoded><![CDATA[<h4>From Release Gate to Continuous Guardrail</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v54kF_k5Zc0WiuHvOkDCmA.png" /></figure><p>A pull request lands at 9:05 a.m. It holds 400 lines of AI-generated code. It compiles cleanly, and every unit test passes. By 9:20, it is merged. Three weeks later, a boundary error in that code corrupts a customer’s order.</p><p>Nobody was careless. The pipeline moved faster than the validation did.</p><p>Article 1 argued that AI transforms the QA role rather than replacing it. Here is what that transformation looks like inside the delivery pipeline, with AI as your instrument. (Article 3 flips the lens and treats AI as the thing under test.) We start with the problem.</p><h4>The Velocity Trap</h4><p>Generative AI compressed the delivery loop on both sides of development. Developers use AI pair programmers, code completion engines, and automated refactoring models to write, commit, and open pull requests at unprecedented speed. Quality engineers use generative AI to synthesize test scenarios and synthetic test data, build API clients, and analyze failures.</p><p>Speed on both sides creates friction when quality practices stay anchored in release-based validation, where testing starts after code is complete. The research note calls the result the velocity trap: developers generate code faster than anyone can evaluate its structure, architecture, and security, so unvalidated code enters the repository.</p><p>AI-generated code makes the trap harder to see. It frequently compiles cleanly and passes basic unit checks while hiding subtle security vulnerabilities, logical flaws, edge-case regressions, or boundary errors.</p><p>Think of a factory that doubles its assembly-line speed but keeps one inspector at the end. Either products pile up at the inspector’s desk, or defective ones ship. Software faces the same two outcomes. With sequential gatekeeping, testing becomes the bottleneck. Without thorough evaluation, defects scale exponentially in production.</p><p>The way out is continuous quality: validation embedded in the pipeline instead of stacked at the end.</p><h4>Continuous Quality in Five Stages</h4><p>Continuous quality places automated validation at every point in the lifecycle: requirements drafting, pre-commit code analysis, continuous integration (CI) builds, continuous deployment (CD) staging gates, and post-deployment observability. Follow one change through five stages.</p><ol><li><strong>Requirements</strong><br>AI models read user stories, acceptance criteria, and architecture diagrams, and flag missing edge cases, ambiguous language, and contradictory requirements before anyone writes a line of code.</li><li><strong>Coding<br></strong>Inside the integrated development environment (IDE), the editor developers write in, static analysis security tools and AI copilots give real-time feedback on syntax errors, potential security vulnerabilities, and missing test fixtures (the data and setup a test needs).</li><li><strong>Commit and CI</strong><br>When code reaches a target branch, CI/CD regression gates run automated unit, API, and visual regression suites.</li><li><strong>Targeted regression</strong><br>Rather than running a massive suite that takes hours, agentic AI frameworks (systems where AI plans and acts toward a goal) analyze git commit diffs, weigh historical defect density (how many bugs a module has produced), and run targeted tests for the affected modules. Picture a building inspector who checks the rooms you renovated and the rooms with a history of leaks, not every room in the building. The analogy breaks where a change ripples into modules the diff never touches, which is why the history matters.</li><li><strong>Production feedback</strong><br>After a successful staging deployment, monitoring tools stream production telemetry, user interaction patterns, and performance metrics back into evaluation pipelines. The loop between production behavior and original design closes.</li></ol><p>One piece of this pipeline gets its own article. For AI products, the evaluation suites that run at these gates, and the thresholds that block a release, form a practice called Evaluation-Driven Development. That is Article 3. For now, the question is what AI actually does inside these stages.</p><h4>The Copilot Playbook</h4><p>LLM copilots handle four jobs across the pipeline. All four lean on the strength Article 1 identified: language models work well with text.</p><p><strong>1. Requirements ambiguity<br></strong>A long-standing rule of thumb holds that defects found in production cost far more to fix than defects caught in design; exact multipliers vary by study. LLMs support shift-left practice (testing earlier in the lifecycle) by scanning user stories, specs, and API contracts for six kinds of gaps:</p><ul><li>Missing acceptance criteria</li><li>Undefined error behaviors</li><li>Contradictory business rules</li><li>Unstated role permissions</li><li>Implicit boundary conditions</li><li>Unmentioned system dependencies</li></ul><p>Take the story “As a customer, I can apply a discount code at checkout.” A model asks: what happens with an expired code? Can guests apply codes? Can two codes stack? Product managers, developers, and quality engineers can answer those before implementation begins.</p><p><strong>2. Test generation<br></strong>Three techniques stand out:</p><ul><li><strong>Boundary value analysis (BVA) and equivalence partitioning (EP): </strong>EP groups inputs the system should treat alike. BVA tests the edges of each group, where bugs cluster. Given an input schema, an LLM computes valid, invalid, and boundary inputs. For an age field accepting 18 to 65, that means 17, 18, 65, and 66.</li><li><strong>Behavior-Driven Development (BDD) scenarios:</strong> LLMs convert raw business-logic statements into structured Given/When/Then files: <em>Given</em> a cart with an expired code, <em>When</em> the customer applies it, <em>Then</em> the system shows an error and keeps the original price.</li><li><strong>Exploratory testing charters:</strong> A charter is a short mission statement for an unscripted testing session. Models propose creative ones and highlight edge-case interactions human authors might overlook.</li></ul><p><strong>3. Synthetic test data<br></strong>Privacy regulations such as GDPR, CCPA, and HIPAA restrict the use of production records in development and test environments. Demand responded: according to Sogeti’s analysis of the World Quality Report 2025–26, organizations now generate an average of 25% of their test data synthetically, up from 24% a year earlier: a steady climb, not a surge. LLMs read database schemas, relational constraints, and field distributions, then generate realistic datasets that mirror real-world characteristics without exposing personally identifiable information (PII) or proprietary records.</p><p><strong>4. Triage and repair<br></strong>When a CI build fails, LLMs process stack traces, terminal logs, git diffs, and network telemetry. They draft defect tickets with a concise title, reproduction steps, expected versus actual outcomes, and relevant log snippets. They correlate exceptions with line-level commits and spot introduced flaws such as missing null checks. Automated program repair (APR) goes one step further: the framework generates a candidate patch, inserts it into an isolated sandbox, retests it against the suite, and submits it to human developers as a pull request only if validation passes. A human still decides.</p><p>These four jobs use the model’s language skills. Not all AI in testing is generative, though.</p><h4>AI in Deterministic Testing</h4><p>In deterministic systems, where the same state and input always produce the same output, AI improves execution efficiency without changing the test logic. A test still asserts an exact expected result. Article 3 explains why that approach stops working for AI products. Four applications matter today:</p><ul><li><strong>Self-healing locators:</strong> These tools use visual recognition and DOM tree distance metrics (a measure of how far a candidate element sits from the original in the page structure) to repair broken locators during test runs.</li><li><strong>Automated test generation:</strong> Tools analyze source-code control flows and schema contracts to synthesize edge-case unit assertions and API payload boundary suites.</li><li><strong>Visual checks:</strong> Computer vision models flag user interface layout regressions.</li><li><strong>Log clustering:</strong> Unsupervised machine learning, which finds groups without labeled examples, sorts execution stack traces into root-cause clusters.</li></ul><p>This is classic self-healing: fix the locator, keep the test. Intent-based self-healing belongs to Article 5, and the clustering algorithms get their turn in Article 4.</p><h4>What You Must Still Verify</h4><p>Every AI output above needs a reviewer. As Article 1 showed, generated tests can be superficial, brittle, hallucinated, or detached from business risk, and AI-generated code can hide flaws behind a clean compile. Use this checklist on AI-generated tests:</p><ol><li><strong>Trace it:</strong> Does each test map to a requirement or acceptance criterion</li><li><strong>Break it:</strong> Break the feature on purpose. Does the test fail?</li><li><strong>Check it exists:</strong> Do the methods, fields, and assertions exist in your codebase? Models hallucinate non-existent ones.</li><li><strong>Prune it:</strong> Remove redundant scenarios.</li><li><strong>Probe the edges:</strong> Do the tests cover boundaries, error paths, and security cases, or only the happy path?</li><li><strong>Rerun it:</strong> Does it pass repeatedly with no changes?</li><li><strong>Own the approvals:</strong> Review every self-healed locator and every AI-proposed patch before it merges</li></ol><p>Skipping this review has a name: automation bias, and Article 6 covers it.</p><h4>Takeaway</h4><p>The release gate becomes a continuous guardrail: AI accelerates every stage, and a human verifies what it produces.</p><p><strong>What to do Monday morning:</strong> paste your next user story into an AI assistant and ask for gaps in the six categories above. Bring the list to your next refinement meeting.</p><p>Next up: everything in this article assumes the product under test behaves predictably. What if it doesn’t? Article 3 tackles products whose answers change from run to run.</p><p><em>Originally published at </em><a href="https://pramudpasqual.substack.com/p/quality-engineering-after-the-hype-b8e?r=9ehjfv&amp;utm_campaign=post-expanded-share&amp;utm_medium=web"><em>https://pramudpasqual.substack.com</em></a><em> on November 21, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ea9d994baf5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality Engineering After the Hype | PART 1 OF 6]]></title>
            <link>https://medium.com/@pasqualpramud/quality-engineering-after-the-hype-e9183f87a77b?source=rss-62e374f0f7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9183f87a77b</guid>
            <category><![CDATA[qa-engineering]]></category>
            <category><![CDATA[ai-in-qa]]></category>
            <category><![CDATA[will-ai-replace-testers]]></category>
            <category><![CDATA[qa-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Pramud Pasqual]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 08:49:10 GMT</pubDate>
            <atom:updated>2026-11-21T06:34:59.271Z</atom:updated>
            <content:encoded><![CDATA[<h4>Will AI Replace QA Engineers? What the Evidence Says</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_7QaJIFtj5EqcCgB.png" /></figure><p>Imagine you are a QA engineer on a Monday morning. Over the weekend, a colleague pasted a user story into an AI assistant and got back forty test cases in under a minute. Last Thursday, you needed most of the day to write twelve. Your manager forwards the thread with one line: “Thoughts?”</p><p>That small moment carries a big question. If a model can draft a test suite in seconds, what is left for the person whose job title says “tester”?</p><p>The question fills conference talks and social feeds, and most answers are loud and unsupported. This series takes a different route. It draws on systematic literature reviews, an interview study of working practitioners, and industry surveys, then translates them for QA engineers, SDETs, and QA leads. Article 1 starts with the biggest question: does AI replace human testers, or transform what they do?</p><h4>Transformation, Not Replacement: What the Research Says</h4><p>The strongest evidence points to transformation. Hou et al. conducted a systematic literature review of 395 research studies on large language models (LLMs) in software engineering, published between 2017 and 2024. Wang et al. produced a foundational survey of 102 studies on LLMs in software testing, published in IEEE Transactions on Software Engineering in 2024. An LLM is a model trained on vast amounts of text and code to predict and generate both. These bodies of work agree on one point: LLMs excel at textual and structural artifacts such as requirements, source code, logs, and commit history.</p><p>That finding reshapes the work. LLMs reframe labor-intensive testing tasks as code, text, repository, and developer-data analysis problems. Writing a test case becomes a text-generation problem. Triaging a failed build becomes a log-reading problem. Tasks that once demanded hours of human typing now sit squarely inside a model’s strengths.</p><p>Does that make the tester redundant? Practitioners lean toward no. An interview study of 15 working testers (Santana, Magalhaes, and de Souza Santos, arXiv, October 2025) found participants treating LLMs as complementary aids, a copilot instead of an autonomous replacement, with humans keeping oversight. The authors caution that 15 voices cannot speak for the whole industry. A copilot drafts, suggests, and speeds things up while a human keeps hold of the steering wheel. That fits the larger reviews, where LLMs accelerate testing tasks and augment human judgment instead of replacing it.</p><p>What changes is where human effort goes. Labor moves away from manual test execution and mechanical test maintenance, toward five higher-order responsibilities:</p><ul><li>Test architecture design: deciding how the whole suite is structured.</li><li>Prompt engineering: writing the instructions that steer a model.</li><li>Statistical evaluation design: measuring AI outputs that vary from run to run.</li><li>Automation governance: setting the rules for what automation may do.</li><li>Risk-based product advocacy: speaking for users when risk and schedule collide.</li></ul><p>Later articles return to each one. First, a look at how far AI has already spread.</p><h4>Adoption Reality Check</h4><p>Adoption is mainstream, though uneven in depth. The World Quality Report 2025-2026 found that 89% of surveyed organizations are piloting or deploying generative AI in quality engineering, 37% in production and 52% in pilot, though only 15% have reached enterprise scale. A 2024 GitHub survey of 2,000 developers in the US, Brazil, India, and Germany found that over 98% of respondents’ organizations had experimented with AI-generated test cases, and that 65% of respondents in Germany and 92% in the US use them at least sometimes. Gartner’s forecast has moved: an older projection put 80% of enterprises on AI-augmented testing tools by 2027, while its October 2025 Magic Quadrant says 70% by 2028, up from about 20% in early 2025. These surveys sample different populations, so read them as converging signals, not one dataset.</p><p>What are teams actually doing with it? TestRail’s 2024 survey found that 65% of QA professionals use AI and 35% do not yet. Among the uses, 24% generate test cases, and 25% generate scripts, the text-heavy tasks the research says LLMs handle best. Notice what is missing from the list: judgment calls about release risk.</p><p>The other 35% have not started, and TestRail’s respondents name four barriers:</p><ol><li>Data privacy and security. Cited by 53%. Sending specs, code, or customer data to a third-party model can conflict with policy or regulation.</li><li>Uncertainty about effectiveness. The top barrier, cited by 54%: teams doubt the tools will deliver.</li><li>A skills gap. Cited by 37%: few teams have people who know how to use AI testing tools well.</li><li>Tool complexity. Cited by 35%: the tools themselves are hard to set up and adopt.</li></ol><p>Two further worries follow from how LLMs work: intellectual property leaving the building, and non-deterministic output, where the same input can produce different results. TestRail did not measure them, but the second runs through Article 3. And even teams that clear every hurdle meet a different problem, and it is economic.</p><h4>The Economics of Friction</h4><p>AI shifts the cost of testing; it does not delete it. Tools substantially reduce the time needed to author an initial test suite. They also introduce new maintenance overhead, which means the economics of AI-assisted testing depend heavily on human verification.</p><p>The reason is quality. Generated test artifacts can be superficial, brittle, non-reproducible, or decoupled from business domain risk. Superficial means the test covers the happy path and misses the edge cases that break production. Brittle means it fails after minor changes. Non-reproducible means it passes on Tuesday and fails on Wednesday with nothing changed. Decoupled means it checks something the business does not care about.</p><p>Think of a bakery that buys a machine mixing dough ten times faster. Output soars. So does the need for someone to taste the bread, because a bad batch now reaches a hundred customers instead of ten. The analogy breaks in one place: bad bread is obvious on the first bite, while a bad test can look perfectly healthy until a defect slips past it.</p><p>That gap defines the new role. QA engineers become the critical reviewers who do three things:</p><ul><li>Validate AI reasoning: check why a test asserts what it asserts.</li><li>Prune redundant or hallucinated scenarios. A hallucination is a confident output with no basis in fact, such as a test for a feature that does not exist.</li><li>Align automated checks with user requirements: confirm that passing tests mean the product does what users need.</li></ul><p>The cheap part of testing got cheaper. The expensive part, knowing whether the tests mean anything, got more valuable. A side-by-side comparison makes the shift concrete.</p><h4>Before and After: Two Workflows Side by Side</h4><p>In the traditional model, testing is a late-stage gate. Engineers execute test steps by hand or write static scripts in frameworks such as Selenium or Appium. The scripts are also fragile: a minor interface change breaks the DOM element locators (the identifiers a script uses to find a button or field), and maintenance is often cited as consuming up to half of automation engineering bandwidth, though vendor estimates range from 30% to 80%.</p><p>In the AI-augmented model, engineers state intent in natural language, specifications, or user stories. Generative models draft test scripts, boundary parameters, and API validation payloads in seconds to minutes. Self-healing locators and visual recognition models resolve interface changes at runtime. Language models summarize failure traces, cluster log anomalies, and identify the commit that introduced the fault.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*SPLIfYV6Ri07-1sl.png" /></figure><p>The last row hides a subtle point: the risks do not shrink; they change. AI-augmented testing must guard against hallucinated test assertions, prompt injection (hostile text that hijacks a model’s instructions), model drift (behavior that changes over time), data exfiltration, and false-positive execution loops (a checker wrongly reports success, again and again). Those risks pull the QA role up the value chain, toward governance, red-teaming, and evaluation design.</p><h4>The Series Map and the Thesis</h4><p>The thesis of this series is simple. AI brings speed, scale, and pattern recognition. Human quality engineers bring domain intuition, risk judgment, user empathy, exploratory reasoning, and ethical oversight. The next five articles show how to build on that split:</p><blockquote><em>* </em><strong><em>Article 2, From Release Gate to Continuous Guardrail:</em></strong><em> how AI as your instrument reshapes the delivery lifecycle.</em></blockquote><blockquote><em>* </em><strong><em>Article 3, Testing the Untestable:</em></strong><em> how to test AI products whose outputs vary.</em></blockquote><blockquote><em>* </em><strong><em>Article 4, Under the Hood:</em></strong><em> the architectures that power AI testing tools.</em></blockquote><blockquote><em>* </em><strong><em>Article 5, Agentic QA:</em></strong><em> what happens when AI acts on its own.</em></blockquote><blockquote><em>* </em><strong><em>Article 6, The Human Side:</em></strong><em> governance, risk, and your next career move.</em></blockquote><h4>Takeaway</h4><p>AI changes what QA engineers do far more than whether they are needed.</p><p><strong>What to do Monday morning:</strong> pull the last ten AI-generated tests your team accepted. For each, ask what business risk it covers and whether it would fail if the feature broke. You have just practiced the reviewer role.</p><p>Next up: what happens when developers use AI too, and code arrives faster than anyone can validate it. That is the velocity trap, and it is where Article 2 begins.</p><p><em>Originally published at </em><a href="https://pramudpasqual.substack.com/p/quality-engineering-after-the-hype?r=9ehjfv&amp;utm_campaign=post-expanded-share&amp;utm_medium=web"><em>https://pramudpasqual.substack.com</em></a><em> on November 20, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9183f87a77b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>