---
title: "Software testing: how it changes in the era of AI"
description: "Software testing and AI: how to evaluate AI-based applications through probabilistic models, metrics, advanced testing, and complexity governance"
image: https://newsroom.kireygroup.com/hubfs/SoftwareDevelopment_9.jpg
---

[kireygroup.com](https://www.kireygroup.com/)

[![](https://newsroom.kireygroup.com/hubfs/item-2020-dicembre/logo-Blog-v2.svg)](https://newsroom.kireygroup.com/en/news)

- [Ita](https://newsroom.kireygroup.com/news/software-testing-come-cambia-nell-era-dell-ai?hsLang=it)
- Eng
- [Esp](https://newsroom.kireygroup.com/es/news/testing-de-software-como-cambia-en-la-era-de-la-ia?hsLang=es)

[Kireygroup.com](https://www.kireygroup.com/)

# Get your daily dose of tech!

## We Shape Your Knowledge

# [Welfare: from compliance to competitiveness, digital services and technologies are key to pension funds’ future](https://newsroom.kireygroup.com/en/news/welfare-digital-services-and-technologies-are-key-to-pension-funds-future?hsLang=en)

By Michela Sertorio, Business Line Manager - BU Pension Funds atKirey.

[Read more](https://newsroom.kireygroup.com/en/news/welfare-digital-services-and-technologies-are-key-to-pension-funds-future?hsLang=en)

 9 MIN READ

26 October 2026

### Latest News

- [Welfare: from compliance to competitiveness, digital services and technologies are key to pension funds’ future](https://newsroom.kireygroup.com/en/news/welfare-digital-services-and-technologies-are-key-to-pension-funds-future?hsLang=en)
- [Inference Costs: how to prevent AI agents from driving costs up exponentially](https://newsroom.kireygroup.com/en/news/inference-costs-how-to-prevent-ai-agents-from-driving-costs-up-exponentially?hsLang=en)
- [Kirey Advisory at the ABI Lab workshop on Processes, Operations and Organization](https://newsroom.kireygroup.com/en/news/kirey-advisory-at-the-abi-lab-workshop-on-processes-operations-and-organization?hsLang=en)
- [Kirey Strengthens Its SAP Presence: Mind The Value Achieves Reselling Partner Status](https://newsroom.kireygroup.com/en/news/kirey-strengthens-its-sap-presence-mind-the-value-achieves-reselling-partner-status?hsLang=en)
- [The Dark Side of Multicloud: how to prevent workload placement from generating technical debt](https://newsroom.kireygroup.com/en/news/the-dark-side-of-multicloud-how-to-prevent-workload-placement-from-generating-technical-debt?hsLang=en)
- [Shadow AI: 4 out of 5 employees use tools not governed by the company](https://newsroom.kireygroup.com/en/news/shadow-ai-4-out-of-5-employees-use-tools-not-governed-by-the-company?hsLang=en)

- [Software Development](https://newsroom.kireygroup.com/en/news/tag/software-development) /

# Software testing: how it changes in the era of AI

#### Kirey

[![](https://newsroom.kireygroup.com/hubfs/it.svg)](https://newsroom.kireygroup.com/news/software-testing-come-cambia-nell-era-dell-ai?hsLang=it)    [![](https://newsroom.kireygroup.com/hubfs/ES.svg)](https://newsroom.kireygroup.com/es/news/testing-de-software-como-cambia-en-la-era-de-la-ia?hsLang=es)

 10 MIN READ

17 March 2026

- Share on:
- <https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnewsroom.kireygroup.com%2Fen%2Fnews%2Fsoftware-testing-how-it-changes-in-the-era-of-ai>
- <https://www.twitter.com/share?url=https%3A%2F%2Fnewsroom.kireygroup.com%2Fen%2Fnews%2Fsoftware-testing-how-it-changes-in-the-era-of-ai>
- <http://www.linkedin.com/shareArticle?mini=true&url=https://newsroom.kireygroup.com/en/news/software-testing-how-it-changes-in-the-era-of-ai>

- [All](https://newsroom.kireygroup.com/news?hsLang=en)
- Categories + 
    - [Corporate](https://newsroom.kireygroup.com/en/news/tag/corporate)
    - [Cybersecurity](https://newsroom.kireygroup.com/en/news/tag/cybersecurity)
    - [Cloud](https://newsroom.kireygroup.com/en/news/tag/cloud)
    - [Data Value](https://newsroom.kireygroup.com/en/news/tag/data-value)
    - [Innovation](https://newsroom.kireygroup.com/en/news/tag/innovation)
    - [Artificial Intelligence](https://newsroom.kireygroup.com/en/news/tag/artificial-intelligence)
    - [Software Development](https://newsroom.kireygroup.com/en/news/tag/software-development)
    - [Monitoring](https://newsroom.kireygroup.com/en/news/tag/monitoring)
    - [Corporate Social Responsibility](https://newsroom.kireygroup.com/en/news/tag/corporate-social-responsibility)
    - [Advisory](https://newsroom.kireygroup.com/en/news/tag/advisory)
    - [Welfare & Social Services](https://newsroom.kireygroup.com/en/news/tag/welfare-social-services)
- [Press & PR](https://newsroom.kireygroup.com/en/news/tag/press)

Artificial intelligence does not reduce the importance of software testing; it actually reinforces it. What changes is the way software is validated and governed: AI-based applications introduce new complexities that push testing beyond simple functional verification, opening challenges that deserve careful analysis. 

## What changes in software testing for AI-based applications

In traditional software, based on deterministic logic, testing relies on the assumption that system behavior is predictable and repeatable. Given the same input, the system must produce the same output, and the different dimensions of software quality (functionality, performance, security, UX, accessibility, and reliability) can be validated against clearly defined requirements and thresholds. Validation is therefore mainly binary: the behavior either complies with the requirements or it does not.

AI-based applications do not overturn the principles of traditional software testing, but they expand its scope. Even when AI models are involved, many established activities remain valid, such as verifying interface behavior and identifying functional (bug) and integration defects. However, the software behavior is no longer fully predictable. In other words, system decisions depend on statistical models trained on data that may produce different results even with the same input.

As a result, software testing must also evaluate whether the application’s behavior falls within acceptable thresholds consistent with its usage context: response accuracy, consistency between similar outputs, stability of behavior over time, and continuous alignment with business objectives.

## Why AI testing cannot follow rigid rules

Testing AI-based applications cannot be rigidly codified because there is not just one type of AI nor a single purpose. Models exhibit varying levels of predictability, autonomy, and risk and therefore require **specific validation approaches**. From a technological perspective, two representative categories are machine learning and generative AI. 

1. **Machine Learning**  
   If the application uses machine learning algorithms (e.g., fraud detection systems), testing begins with evaluating established metrics such as precision, accuracy, and F1 score. However, it is also necessary to test the model’s ability to work with new data while avoiding *overfitting* — which occurs when the model performs well only on training data — and *underfitting,* when the model is too simple to capture the complexity of the problem.
2. **GenAI and agentic AI**    
   With generative and agentic AI, complexity increases because output validation cannot rely on a **direct comparison with a single expected and formalizable result.** Given the same input, the system may produce different responses, all potentially correct from an informational perspective but not necessarily equivalent in terms of quality, relevance, or contextual appropriateness. Automatic metrics exist to compare outputs with known references, but human involvement (HITL, Human-in-the-Loop) becomes central.

When the system combines deterministic logic and probabilistic models within the same architecture (a typical phenomenon in agentic AI), testing becomes even more complex. It is necessary to verify both **the quality of the individual nodes of the agentic architecture and the interactions between them.**  

## Testing AI-based systems: a 5-phase methodology

In the AI era, there is no validation method that works in all cases. Applications introduce variables related to data, context, and model behavior, making rigid testing frameworks ineffective.

**The correct approach is therefore strategic**: it is necessary to understand what system you are dealing with, what decisions it makes, its level of autonomy, and the risks it introduces. These factors determine the choice of the most appropriate validation methodologies, which may also coexist within the same project.

### Data validation

The first step is usually *data validation,* meaning the verification of the quality, consistency, and impartiality of datasets. Identifying statistical bias or anomalies in training data is the first defense against distorted or discriminatory outcomes in the future.  

### Model robustness verification

Once data quality is ensured, attention shifts to model validation (model testing). In addition to fundamental metrics such as accuracy and precision, it is also essential to test robustness, meaning the model’s ability to provide reliable responses even when faced with degraded or noisy inputs.

For example, so-called *invariance tests* verify that small irrelevant perturbations do not change model predictions, while other tests verify that the model has learned the correct relationships from past interactions. In a credit-scoring system, for instance, if all other factors remain the same, increasing income should improve the score; if this does not happen, something is wrong with the logic learned by the model.

Alongside this, more advanced testing practices are used, such as **analyzing biases present in responses and red-teaming methodologies**, which adopt an adversarial approach to expose logical vulnerabilities and unexpected behaviors.

### System integration and security

The system and integration testing phase verifies how the model integrates into the overall architecture of the application. This includes monitoring API latency and ensuring that model outputs are correctly interpreted by user interfaces.

**Security also becomes crucial** at this stage: testing an AI application means protecting it from specific threats such as prompt injection or data poisoning.

### Human factor and dynamic validation

The final frontier of testing is experiential validation, often defined as Human-in-the-Loop. Due to the non-deterministic nature of AI, human judgment remains essential to evaluate contextual relevance and the ethical aspects of responses.

Finally, testing does not end with release: through continuous feedback cycles and real-time monitoring, **the system is constantly refined based on real-world usage**, transforming testing into a living and iterative process.

## Our approach: quality, testing, and AI for valuable solutions

When supporting companies in their digital transformation journeys, we start from a clear premise: the value of innovation depends on the ability to generate tangible results, even when solutions are not governed by strictly deterministic logic.

For this reason, alongside [software development](https://www.kireygroup.com/en/competencies/software-development) skills and **full application lifecycle management,** where testing plays a central role, we combine strong capabilities in **designing and delivering** [AI-based solutions](https://www.kireygroup.com/en/competencies/data-ai) oriented toward concrete use cases.

In these projects, we integrate data science, software engineering, and application governance expertise to build solutions that deliver measurable and sustainable benefits over time.

[Contact us](https://www.kireygroup.com/en/contact) to discover how we can support your journey toward becoming an increasingly data-centric company.

- [Previous post](https://newsroom.kireygroup.com/en/news/giovanni-ciarlariello-is-the-new-ceo-of-kirey?hsLang=en)
- [Read all posts](https://newsroom.kireygroup.com/en/news?hsLang=en)
- [Next post](https://newsroom.kireygroup.com/en/news/data-strategy-a-practical-guide-to-aligning-data-business-and-it-architecture?hsLang=en)

## Related posts:

#### [Legacy modernization in banking: discover the true...](https://newsroom.kireygroup.com/en/news/legacy-modernization-in-banking-discover-the-true-cost-of-legacy-systems?hsLang=en)

The banking sector is one of the world’s largest investors in digital transformation and innovation,...

[Read more](https://newsroom.kireygroup.com/en/news/legacy-modernization-in-banking-discover-the-true-cost-of-legacy-systems?hsLang=en)

 10 MIN READ

17 March 2026

#### [Test-Driven Development to Improve Software Qualit...](https://newsroom.kireygroup.com/en/news/test-driven-development-to-improve-software-quality-costs-and-sustainability?hsLang=en)

In software development, attention tends to focus on the analysis, design, and implementation phases...

[Read more](https://newsroom.kireygroup.com/en/news/test-driven-development-to-improve-software-quality-costs-and-sustainability?hsLang=en)

 16 MIN READ

17 March 2026

#### [A guide to API Security, from threats to a winning...](https://newsroom.kireygroup.com/en/news/a-guide-to-api-security-from-threats-to-a-winning-strategy?hsLang=en)

According to the State of API Security Report by Salt Security, 99% of companies have experienced at...

[Read more](https://newsroom.kireygroup.com/en/news/a-guide-to-api-security-from-threats-to-a-winning-strategy?hsLang=en)

 14 MIN READ

17 March 2026

#### Explore

- [Home](https://www.kireygroup.com/)
- [Competencies](https://www.kireygroup.com/en/competencies)
- [Industries](https://www.kireygroup.com/en/industries)
- [About Us](https://www.kireygroup.com/en/about-us)
- [Tech&Partners](https://www.kireygroup.com/en/tech-partners)
- [Careers](https://www.kireygroup.com/en/careers)
- [Contact](https://www.kireygroup.com/en/contact)
- [Corporate Social Responsibility](https://www.kireygroup.com/en/corporate-social-responsibility)
- [Advisory](https://www.kireyadvisory.com/en)

#### Policy

- [Quality](https://www.kireygroup.com/oven/media/PKG-COMP-AL14-Quality-Policy.pdf)
- [Security](https://www.kireygroup.com/oven/media/PKG-CIS-LG02-Security-Policy.pdf)
- [Gender Equality](https://www.kireygroup.com/oven/media/PKG-COMP-LG03-Politica-per-la-parita-di-Genere-v2.pdf)
- [Service Management](https://www.kireygroup.com/oven/media/PKG-COMP-AL45-Politica-per-la-gestione-dei-servizi.pdf)
- [Environment](https://www.kireygroup.com/oven/media/PKG-COMP-AL44-Politica-Ambientale-Kirey.pdf)
- [Health, Safety & Wellbeing](https://www.kireygroup.com/oven/media/PKG-COMP-LG02-Policy-on-health-safety-and-well-being-in-the-work-environment.pdf)
- [ESG](https://www.kireygroup.com/oven/media/Policy-ESG-ENG-v1.pdf)
- [Info on Data Processing](https://www.kireygroup.com/en/information-on-data-processing)

#### Certifications

- [ISO 9001:2015](https://www.kireygroup.com/oven/media/KIREY-S-R-L-9001.pdf)
- [ISO/IEC 27001:2022](https://www.kireygroup.com/oven/media/KIREY-S-R-L-27001.pdf)
- [PDR 125](https://www.kireygroup.com/oven/media/PDR-125-2022.pdf)  
  <https://www.kireygroup.com/oven/media/PKG-COMP-AL45-Politica-per-la-gestione-dei-servizi.pdf>
- [ISO/IEC 20000-1:2018](https://www.kireygroup.com/oven/media/ISOIEC-20000-12018-ENG.pdf)
- [ISO 14001:2015](https://www.kireygroup.com/oven/media/ISO-14001-2015-ENG.pdf)
- [ISO 45001:2018](https://www.kireygroup.com/oven/media/CERTIFICATO-ISO-45001-KIREY-ENG.pdf)
- [ISO 22301:2019](https://www.kireygroup.com/oven/media/ISO-22301-2019-ENG.pdf)

#### Info

**Kirey Srl**

[info@kireygroup.com](mailto:info@kireygroup.com)  
Viale Francesco Restelli, 5  
20124 Milano

[kirey@pec.it](mailto:kirey@pec.it)  
**PI/CF**: 06729880960  
**REA**: MI 1910802  
**Tel**: +39 02 78625200

Capitale sociale 1.089.620,00 

[![Linkedin](https://newsroom.kireygroup.com/hs-fs/hubfs/Linkedin.png?width=20&name=Linkedin.png)](https://www.linkedin.com/company/kireygroup/)<https://open.spotify.com/show/41V5g7d4zccIrVcmNB3ZWd>   <https://www.instagram.com/kireygroup/?igshid=MzRlODBiNWFlZA%3D%3D>

- [Privacy Policy](https://www.kireygroup.com/oven/media/Kirey-Privacy-ENG-policy-art-13.pdf)
- [Cookie Policy](https://www.kireygroup.com/oven/media/Kirey-Cookie-Policy-ENG-1.pdf)
- [Terms and Conditions](https://www.kireygroup.com/oven/media/Kirey-Website-Terms-and-Conditions-1.pdf)

[![KIREY LOGO](https://newsroom.kireygroup.com/hs-fs/hubfs/KIREY_LOGO_PAYOFF_RGB_POS.png?width=200&height=72&name=KIREY_LOGO_PAYOFF_RGB_POS.png)](https://www.kireygroup.com/)

© Copyright 2026 by Kirey