AI in software testing

When AI Writes the Code and the Tests, Who Challenges the Assumptions?


AI is changing how software is built.

The growing use of AI in software testing and development enables teams to draft code, suggest test cases, create test data, summarise defects, and speed up documentation. Used well, these capabilities help teams deliver faster. But they also raise an important question for every software delivery team:

“If AI helps create the solution and also helps validate it, who challenges the assumptions behind both?”

At Gislen Software, we believe quality is not about slowing delivery down. It is about making sure that speed does not turn into false confidence.

The Risk of “Everything Passed”

One of the risks of AI in software testing is that both the generated code and the tests may rely on the same unchallenged assumptions.

A test suite can show green. A build can succeed. A feature can meet every stated acceptance criterion.
And the user experience can still fail.

Why?
Because software does not run only in expected conditions. It runs with incomplete data, changing integrations, unexpected user behaviour, high load, delayed responses, unclear business rules, and real-world dependencies.

AI is very effective at recognising common patterns and accelerating repeatable work. But it works from the context it is given. If a requirement carries an unstated assumption, AI can produce code that builds on that assumption and tests that confirm it.

This risk is not new, and it is not unique to AI. Whenever the same source shapes both the solution and its tests, the two tend to share the same blind spots. AI simply makes that loop faster and its output more convincing.
That is not a reason to avoid AI. It is a reason to keep an independent, questioning perspective in the loop.

Testing What Was Not Explicitly Asked

Much of the most valuable testing is not about confirming what the system should do.
It is about asking what happens when reality differs from the expected path.

For example:


What happens when an integrated service responds slowly rather than failing outright?

What happens when a user retries an action after a partial failure?

What happens when two users update the same information at the same time?

What happens when a valid business rule conflicts with an old configuration or historical data?

What happens when a feature works technically but confuses the end user?

These questions need more than test execution. They need curiosity, domain understanding, risk awareness, and empathy for the people using the product. And they are most valuable when asked early, during refinement and design, not only after the code is written.

AI Can Accelerate; People Must Challenge

AI in software testing can support quality engineering teams in many useful ways:

  • Generating starting points for test scenarios
  • Identifying repeated patterns in defects
  • Helping maintain automation assets
  • Summarising logs and large test results
  • Supporting faster analysis and documentation

But AI-generated output should be treated as a contribution to the quality process, not as proof of quality.
The role of the quality professional is becoming more valuable, not less: not just to test whether the system works, but to challenge whether it works for the right reasons, under the right conditions, and for real users.

Confidence Over Activity

Speed is easy to measure.
We can count story points, builds, deployments, test execution time, and the number of automated tests. But activity is not the same as confidence.

A release that leads to production incidents, support tickets, rework, or lost user trust is not truly fast. Time saved before release is often paid back later, with interest. Putting quality first does not mean delaying every release until it is perfect.

It means making informed decisions based on risk, impact, and evidence.
It means asking:

“Have we tested the feature, or only our assumptions about the feature?”

The Human Side of Quality

As AI becomes more capable, quality engineering must become more intentional.
The future of testing is not humans versus AI. It is humans using AI responsibly, while continuing to apply judgement where it matters most.

At Gislen Software, we aim to build confidence into every stage of delivery. We use technology to improve efficiency, but we do not confuse automation with assurance.

Because the most important defects are not always the ones a tool can predict.
Sometimes, they are found only when someone asks the question no one else thought to ask.

Frequently asked questions on AI in software testing

How is AI used in software testing?

AI can help teams generate test scenarios, create test data, identify recurring defect patterns, maintain test automation assets, summarise logs and analyse test results. It reduces the time spent on repetitive tasks, allowing quality professionals to focus on areas that require human judgement.

What are the risks of using AI to generate both code and tests?

When AI generates both code and tests from the same requirements, they may share the same assumptions and blind spots. If an underlying assumption is incorrect, the generated tests may confirm the behaviour of the code without identifying the actual problem.

Does passing all automated tests mean the software is reliable?

No. A successful build and a passing test suite do not necessarily mean the software will work well under real-world conditions. Tests may overlook unexpected user behaviour, incomplete data, integration delays or business scenarios that were not considered in the original requirements.

Why is human judgement important in AI-driven software testing?

Human testers bring curiosity, domain understanding, risk awareness and empathy for end users. They can challenge assumptions, question unclear requirements and explore scenarios beyond those explicitly described in the specifications.

Can AI replace software testers?

AI can support many aspects of software testing, but it does not remove the need for quality professionals. Human judgement remains important when assessing business risks, challenging assumptions and determining whether software meets the needs of real users.

Why should testers look beyond acceptance criteria?

Acceptance criteria describe expected behaviour, but they may not cover every situation a user encounters. Testing beyond these criteria helps uncover problems involving partial failures, concurrent updates, conflicting business rules and unexpected user behaviour.

What real-world scenarios should software testers consider?

Testers should consider situations such as slow integration responses, users retrying actions after partial failures, simultaneous updates to the same information, conflicts with historical data and features that work technically but confuse users.

When should quality professionals get involved in software development?

Quality professionals should be involved early, during requirement refinement and design. Challenging assumptions and identifying potential risks at these stages can help teams address problems before the code is written.

Can AI-generated tests provide enough confidence for a software release?

AI-generated tests can contribute to release confidence, but they should not be treated as proof of quality on their own. Release decisions should consider business risks, potential user impact and the available testing evidence.

What is the difference between test automation and quality assurance?

Test automation helps teams execute repeatable checks efficiently. Quality assurance takes a broader view, considering whether the software meets business needs, behaves reliably under different conditions and provides a suitable experience for its users.

Does prioritising software quality slow down delivery?

Prioritising quality does not mean delaying every release until the software is perfect. It means making informed decisions based on risk, impact and evidence. Releasing software quickly without adequate confidence can lead to production incidents, support requests and rework.

How can software teams use AI responsibly in testing?

Teams can use AI to accelerate repetitive testing activities while retaining an independent, questioning perspective. AI-generated output should be reviewed, assumptions challenged and testing extended to real-world scenarios that may not be covered by the original requirements.

How does Gislen Software approach AI and software quality?

At Gislen Software, we aim to build confidence into every stage of software delivery. We use AI and automation to improve efficiency while continuing to apply human judgement, challenge assumptions and assess risks. We treat automation as a contribution to quality assurance rather than a substitute for it.

What is the future of software testing in the age of AI?

The future of software testing lies in people using AI responsibly. As AI takes on more repeatable tasks, quality professionals will continue to play an important role in challenging assumptions, understanding business risks and assessing whether software works reliably for real users.

Was this article helpful?
YesNo

Leave a Reply