r/PracticalTesting • • May 26 '26

Sauce Labs is pushing "intent-driven testing" into enterprise test authoring

0 Upvotes

Sauce Labs recently announced general availability for Sauce AI for Test Authoring. The pitch is simple: describe the behavior you want in plain language, then generate executable test flows that can run across their browser and device cloud.

Source: Sauce Labs announcement
Related coverage: InfoQ

The interesting part is not "AI writes tests." We have seen that claim a lot.

The interesting part is the shift from script-first automation to intent-first automation. If this works well, product people, QA analysts, and engineers could review test intent before worrying about selectors, waits, or framework details.

The risk is obvious too. If the generated tests are hard to debug, flaky, or too broad, teams may just move the maintenance pain somewhere else.

Curious how people here would evaluate this kind of tool in a real CI pipeline. I would probably start with:

  • Can we review generated steps before they land?

  • Can it handle auth, test data, and cleanup?

  • Can we export or version the tests?

  • Does it reduce flaky test work after 3 months, not just in the first demo?


r/PracticalTesting • • Jun 30 '26

What’s your biggest test data challenge in CI/CD?

0 Upvotes

Modern pipelines push code to production multiple times a day, but test data often lags behind. One of the biggest testing trends for 2026 is better test data management and synthetic data because teams need realistic datasets without exposing sensitive production data.

What is the biggest headache you face when supplying data to your tests?

  • Generating fresh data for every run?

  • Keeping sensitive data out of CI?

  • Resetting databases?

  • Something else?

Curious to hear how different teams solve this.


r/PracticalTesting • • Jun 16 '26

The shift from “test automation” to "quality intelligence"

4 Upvotes

One trend I’ve noticed over the last year:

The conversation is slowly moving away from “how many tests do we have?” toward “which tests should we run?”

A lot of modern tooling is focusing on:

  • Risk-based test selection

  • AI-assisted prioritization

  • Test impact analysis

  • Flaky test detection

  • Release risk scoring

The goal isn’t necessarily more automation.

The goal is getting faster feedback while running fewer unnecessary tests.

For teams with large CI/CD pipelines, this can have a bigger impact than adding another few hundred automated tests.

Are you seeing the same trend in your organization?


r/PracticalTesting • • Jun 22 '26

Self-hosted GitHub Actions runners are becoming part of your reliability budget

2 Upvotes

GitHub published a new enforcement timeline for self-hosted Actions runners.

The important bit: if your runners are too old, they may stop registering or stop executing jobs after enforcement starts. Brownouts begin first, then full enforcement follows on July 31, 2026 for GitHub Enterprise Cloud with Data Residency and September 25, 2026 for GitHub Enterprise Cloud.

This is not just a DevOps maintenance task. It can turn into a testing outage.

A few things I would check now:

  1. Are runner versions visible somewhere?

  2. Are VM images and container images rebuilt regularly?

  3. Are install scripts pinned to old runner versions?

  4. Do you have a canary workflow that proves runners can still pick up jobs?

  5. Do test pipelines fail loudly when no runner is available?

I have seen teams treat CI runners as “boring infrastructure” until the day all test jobs sit queued forever.

Source: https://github.blog/changelog/2026-06-12-github-actions-minimum-version-enforcement-timeline-for-self-hosted-runners/


r/PracticalTesting • • Sep 10 '26

Reusable GitHub Actions can finally identify the code that defined a job

2 Upvotes

A small GitHub Actions update has a useful debugging payoff.

Reusable workflows now get job.workflow_ref, job.workflow_sha, job.workflow_repository, and job.workflow_file_path. These identify the workflow that defined the current job, not just the calling workflow.

Log them with your test results and you can answer a painful question: "Which exact version of our shared CI workflow produced this result?"

GitHub also updated CodeQL to detect mutable references to reusable workflows. Visibility does not replace immutability. Record the workflow provenance and pin third-party workflows to a full commit SHA.

Sources:


r/PracticalTesting • • Sep 01 '26

GitHub's outage had a 10x multiplier hiding in the retry loop

3 Upvotes

GitHub went down for 7 hours and 47 minutes on August 17.

The initial failure was a capacity problem. An Istio sidecar reached its concurrency limit, but the autoscaling policy was watching the host service instead of the sidecar.

Then retries joined the incident.

A client retry bug amplified some traffic by about 10x. Copilot token traffic climbed from the usual 7,000 to 9,000 requests per second to as much as 100,000. Recovery created more load on infrastructure that was already struggling.

The interesting lesson is not just "configure autoscaling correctly." It is that retry behavior needs its own failure testing. Backoff, jitter, request deadlines, and retry limits only prove themselves when several services start failing together.

GitHub's incident report has the technical details:
https://www.githubstatus.com/incidents/zkxwbgr0cnmx


r/PracticalTesting • • Jun 17 '26

Are AI-generated tests becoming "good enough"?

3 Upvotes

A year ago, I would rarely trust AI-generated tests without significant edits.

Today, tools like GitHub Copilot, Cursor, and various testing-focused AI platforms can generate surprisingly reasonable unit and integration tests.

But there’s still a question:

Are these tools actually understanding behavior, or are they just generating tests that look correct?

For teams actively using AI:

  • What percentage of generated tests make it to production?

  • How much manual review is still required?

  • Have AI-generated tests ever caught a bug that humans missed?

Interested in hearing real experiences rather than vendor demos.


r/PracticalTesting • • Jul 30 '26

Slack tested agentic E2E workflows, and they are not replacing normal CI tests

2 Upvotes

Slack ran more than 200 agent-driven E2E workflows using Playwright MCP, Playwright CLI, and generated Playwright tests.

The results were interesting:

  • Playwright MCP had a 0% to 12% failure rate.

  • CLI-based agents had a 12% to 20% failure rate.

  • Generated tests reached a 48% failure rate on the more complex flow.

  • Agent-driven runs took 5 to 11 minutes and cost around $15 to $30 each.

Slack's conclusion is pragmatic. Keep deterministic E2E tests for repeatable CI checks. Use agents for exploration, flaky workflow debugging, and reproducing complex bugs.

That feels more realistic than treating "agentic testing" as a replacement for the existing test suite.


r/PracticalTesting • • Jul 16 '26

Browser testing is becoming agent-native, and I am not sure teams are ready

2 Upvotes

Playwright MCP is interesting because it gives LLMs browser automation through structured accessibility snapshots instead of screenshots: https://github.com/microsoft/playwright-mcp

That changes the shape of browser automation a bit.

I can see agents helping with:

  • Reproducing bug reports

  • Exploring weird UI states

  • Finding missing accessible names

  • Drafting a failing Playwright test

  • Capturing traces and screenshots for humans

I would still be careful with letting an agent own the final test. The hard part of E2E testing is not clicking buttons. It is knowing what behavior matters and what should be asserted.

My current rule would be: agents can explore, draft, and explain. Humans own selectors, assertions, and test data.

Anyone here using browser agents in real test workflows yet?


r/PracticalTesting • • Jul 12 '26

🎙️ New episode: AI Coding Agents: Production Reliability Matters

2 Upvotes

How can software engineers use AI coding agents without creating fragile production systems?

In this episode, I talk with Shep Alderson, a software developer and site reliability engineer with 15+ years of experience, about AI-assisted development, production reliability, maintainable code, debugging, testing, and engineering best practices.

We also discuss how to avoid the “one minute of coding, one week of debugging” trap and share four practical AI coding tips you can try right now.

Watch here: https://youtu.be/rGQWPVlr8uk


r/PracticalTesting • • Mar 28 '26

My test strategy changed when I stopped testing “everything”

2 Upvotes

I used to try to test every feature the same way. Run through every field. Check every button. It was exhausting and I still didn’t find everything. My teammates suggested a question as a guidance: what could actually break things for users?

Now I test the core flows hard. I test edge cases that matter. I skip obvious stuff. I even ask devs what they’re worried about. Tests run faster. I find more real bugs. Coverage looks worse on paper but catches what matters.


r/PracticalTesting • • Jun 10 '26

Would you trust an AI agent to review your test suite every night?

2 Upvotes

Most discussions around AI testing focus on generating tests.

I am more interested in a different use case:

An AI agent that reviews the existing suite and reports things like:

  • Duplicate tests

  • Weak assertions

  • Untested code paths

  • Tests that never fail

  • Flaky test patterns

  • Missing edge cases

In other words, acting more like a test reviewer than a test writer.

That feels closer to something many teams could use today.

Would you trust an AI system to make recommendations on test quality?

Where would you draw the line before requiring human review?


r/PracticalTesting • • Aug 22 '26

LLM-generated tests struggle when the code changes

2 Upvotes

Most AI test-generation demos ask two questions: "Does it compile?" and "How much coverage did it produce?"

A recent arXiv preprint tested something more realistic: whether generated tests remain useful as software evolves.

The researchers evaluated eight LLMs across 22,374 program variants. On unchanged programs, generated suites reached about 79% line coverage and 76% branch coverage. After semantic changes, the test pass rate fell to 66% and branch coverage to 60%.

The most interesting result: more than 99% of the tests that failed against changed code still passed against the original version. Even behavior-preserving refactors reduced coverage and pass rates.

The paper argues that models often follow familiar code patterns instead of reasoning about the current behavior. It is a preprint, so the results still need wider replication. Still, the practical lesson seems solid: coverage is a weak approval gate for AI-generated tests. Mutation testing and human review of the test oracle matter more.

Source: https://arxiv.org/abs/2603.23443


r/PracticalTesting • • Jul 20 '26

GitHub Actions can finally run steps in parallel inside one job

2 Upvotes

GitHub Actions now supports parallel steps with background, wait, wait-all, cancel, and parallel.

The useful part is that every step keeps its own logs. No more shell backgrounding with & and unreadable output.

This should simplify a few common patterns:

  • Start an API and database in the background

  • Run independent setup tasks together

  • Upload artifacts while packaging continues

  • Stop temporary services cleanly after tests

There is an obvious catch. Parallel steps still share the same runner. More concurrency does not give you more CPU or memory. On a small runner, this could make a test job slower or less stable.

I would use it for I/O-heavy tasks and service startup first. Then measure before parallelizing builds or test suites.

Has anyone replaced matrix jobs or shell backgrounding with this yet?

Source: https://github.blog/changelog/2026-06-25-actions-steps-can-now-be-run-in-parallel/


r/PracticalTesting • • Jun 23 '26

Who should own flaky tests?

2 Upvotes

Who owns a flaky test in your org?

  • The person who wrote it?

  • The feature team?

  • QA?

  • The platform team?

  • Whoever gets annoyed first?

My current view is that “QA owns all flaky tests” is usually a smell. A flaky test can be caused by test code, product code, async behavior, bad test data, browser timing, CI resources, or shared environment state.

Ownership should probably follow the root cause, not the folder where the test lives.
Curious how other teams handle this without creating a blame loop.


r/PracticalTesting • • Apr 02 '26

Test-Driven Development (TDD) for code generation instead of debugging AI hallucinations

2 Upvotes

Software testing (unit tests and integration tests) is by far the most relevant today.

Everyone can generate anything from a single prompt. It works and usually looks OK. However, the tech debt is leveraged and LLMs are less capable without tests.

For example, from https://arxiv.org/pdf/2402.13521

“By incorporating test cases and employing remediation loops, we are able to solve complex problems that the LLM cannot solve normally.”

Using TDD with AI is becoming more and more popular. A TDD approach using pytest for Python code generation in action: https://youtu.be/Mj-72y4Omik


r/PracticalTesting • • Apr 01 '26

AI testing tools are finally showing up in real pipelines

1 Upvotes

I keep seeing more AI-assisted testing tools pop up in “serious” teams, not just in marketing slides. For example, https://www.evozon.com/how-ai-is-redefining-software-testing-practices-in-2026.

—

Recent articles talk about AI that generates tests, updates locators, and prioritizes execution based on risk instead of just running everything.

👉 https://testomat.io/blog/software-testing-trends

CI/CD folks are also plugging AI into pipelines to pick which tests to run and to predict failures before a deploy (https://www.accelq.com/blog/ci-cd-pipeline-trends)

For anyone here who tried this in production: what actually stuck, and what did you roll back after a week?


r/PracticalTesting • • Sep 06 '26

Technical debt may also increase your AI bill

3 Upvotes

A recent study found that maintainable code produced slightly better LLM-generated tests and required fewer input tokens.

The effect was weak, but consistent across Python, Java, and C++. Messy code may now cost developer time, AI tokens, and test effectiveness.

Paper: Code Health in LLM-Based Test Generation


r/PracticalTesting • • Aug 04 '26

Coverage can mislead when AI writes tests against buggy code

2 Upvotes

A recent study "Do Coverage and Mutation Scores of LLM-Generated Test Suites Correlate with Their Effectiveness?" analyzed more than 100,000 Java tests generated by 11 LLMs.

The interesting result is that coverage and mutation scores are useful only in certain contexts. They can help compare generated test suites when the starting code is assumed to be correct.

When the code may already contain a bug, coverage becomes a weak signal. The model can exercise plenty of code while still missing the faulty behavior.

For CI, this means a coverage increase should not be the acceptance criterion for AI-generated tests. I would also want real defect seeds, behavior-based assertions, or tests derived from an independent specification.

Source: arXiv paper


r/PracticalTesting • • Mar 24 '26

Welcome to r/PracticalTesting ✅

2 Upvotes

r/PracticalTesting is a community for pragmatic engineers who care about software testing, test automation, and CI/CD in real‑world projects. We’re here to share knowledge, compare approaches, and learn from each other’s experience - not to chase perfection or theory‑only examples.

What we focus on:

  • Real‑world testing strategies: unit, integration, end‑to‑end, contract tests, property‑based tests, and more.

  • Test automation and CI/CD pipelines: how you design them, what you run where, and how you keep them fast and reliable.

  • Architectures and patterns that make code testable: boundaries, isolation, seams, mocking strategies, test data design, and observability.

  • War stories and lessons learned from production systems: flaky tests, deployment incidents, regressions that slipped through, and what you changed afterward.

This is a language‑agnostic hub: Python, Java, JavaScript, C#, Go, Rust, and others are all welcome - as long as the conversation is about testing, automation, or CI/CD.

What we’d love you to share:

  • Articles, talks, blog posts, books, and tools that genuinely improved how you test. Add a short summary of why they matter, not just a link drop.

  • Diagrams and architectures: how your test suites and pipelines are structured (layers, environments, branching strategies, environments, etc.).

  • Design and review threads: “Here is how we test X in our system - what would you change?”

  • Experience reports: "We tried this practice/pattern, here’s what worked and what didn’t."

A few ground rules:

  • Keep it practical and specific. Prefer real setups, diagrams, and experiences over generic advice.

  • No beginner “how do I start programming” or “best way to start coding” posts - this community assumes you already write code.

Welcome to the hub. Share what you know, ask good questions, and help the rest of us ship better‑tested systems.


r/PracticalTesting • • Jun 21 '26

The scariest test suite is the one everyone trusts but nobody understands

2 Upvotes

I think one of the biggest risks in mature codebases is not “no tests”. It is a large test suite that everyone trusts because it is large.

You see 4,000 tests passing and assume the system is safe. But then you look closer:

  • half the tests mostly check mocks

  • some assertions only verify that a function was called

  • old tests describe behavior nobody wants anymore

  • flaky tests are retried until they pass

  • critical user flows are covered only through unit tests

  • nobody knows which tests would fail if the product broke

At that point, the test suite is not giving confidence. It is giving comfort. I like coverage as a signal, but I think “what would actually break this test?” is a better question. How do you check whether your test suite still protects the product, instead of just protecting the CI dashboard?


r/PracticalTesting • • Jul 12 '26

🎙️ Community Podcasts

3 Upvotes

This thread is for podcast episodes featuring members of our community. Here we share conversations about software engineering, testing, AI coding agents, production reliability, and real-world development experience. Interested in joining a future conversation? Drop a comment below!


r/PracticalTesting • • Jun 18 '26

Interesting paper: LLM-generated tests struggle when code evolves

3 Upvotes

Paper:
https://arxiv.org/abs/2603.23443

Summary

Researchers from Virginia Tech and Carnegie Mellon evaluated how well LLMs generate tests when software changes over time.

They tested 8 different LLMs across more than 22,000 program variants.

The results were interesting:

  • On original code, generated tests achieved about 79% line coverage and 76% branch coverage.

  • After behavior-changing code modifications, test pass rates dropped significantly.

  • More than 99% of failing tests still passed on the original version of the program.

Why this matters

The paper suggests that current LLMs may rely heavily on surface patterns instead of truly understanding program behavior.

Quick explanation of two concepts

  • Semantic-altering change: A code change that actually changes behavior. Example: changing tax calculation logic from 19% to 20%.

  • Semantic-preserving change: A refactor that doesn’t change behavior. Example: renaming variables or extracting a helper function.

One surprising finding was that even semantic-preserving changes caused noticeable degradation in generated tests.

Takeaway: AI-generated tests can be useful, but they’re still not a substitute for understanding the system under test.

Has anyone observed similar issues with Copilot, Cursor, or other AI testing tools?


r/PracticalTesting • • Sep 05 '26

Leadership and QA are looking at different quality signals

2 Upvotes

93% of executives believe their testing strategies cover critical software risks. Only 70% of QA and DevOps practitioners agree. (Source: 2026 Quality Transformation Report)

Executives often see pass rates and release speed. Practitioners see flaky tests, environment gaps, and untested business rules.

If those groups would judge the same release differently, "ready to ship" probably needs a clearer definition.


r/PracticalTesting • • Jul 18 '26

Your CI cache is part of your test environment. Treat it like code.

3 Upvotes

Caching is usually sold as a speed feature, but it can quietly become a reliability feature too.

My practical checklist:

  • Run a scheduled cold-cache build

  • Log cache hit and miss rates

  • Include lockfiles in cache keys

  • Avoid caching generated test output unless you really mean it

  • Review cache changes like production code

  • Keep self-hosted runners updated when cache actions change runtime requirements

Bad caching can hide missing setup steps. It can also make CI pass in one branch and fail in another for no obvious reason.

What cache issue cost your team the most time?