Quo vadis

Michael Felderer, how will software testing change through AI?

July 2023

Prof. Dr. Michael Felderer is director of the Institute of Software Technology at the German Aerospace Center (DLR) and a professor at the University of Cologne. He is an internationally recognized expert on testing and quality assurance of software-based systems. Prof. Felderer’s research deals with the development of effective and efficient testing and quality assurance methods, in which methods of artificial intelligence play a prominent role. Michael Felderer is also particularly interested in the development of quality assurance approaches for cutting-edge software technologies such as autonomous systems or quantum computing systems. Prof. Felderer also advises companies with his know-how and long experience and is a regular speaker at conferences.

Michael Felderer on LinkedIn DLR Institute of Software Technology

Information about the person as of summer 2023.

Where do we stand today with testing using AI?

To take the philosophical dimension out of the topic, I do not want to speak of “AI” but of “AI technologies”, that is, tools that support people by imitating human abilities such as logical reasoning, learning, planning and creativity. AI technologies, and with them their possible uses in testing, are constantly evolving. An early approach was to model systems with knowledge bases. From these, test cases can be generated through model-based testing, which automates test design. Another approach to intelligently automating test case generation is search-based testing, which is based on metaheuristic search procedures such as genetic algorithms. With machine learning methods, we recently classified error messages and identified root causes successfully, that is, we (partly) automated test evaluation. The latest link in this chain is large language models and the generative AI technologies based on them. With these, not only can test artifacts such as test cases, test data or defect reports be generated, but the entire test process can benefit from the new ways of interaction between humans and AI technology.

What I, as a scientist who works closely with industry, have observed for more than 20 years is that the practical use of AI technologies in testing always lags clearly behind the findings of software engineering research. With large language models I see new chances for research and practice to move closer together: new test approaches from research could be made available to testers in practice more quickly and with less technical and cognitive overhead than before through generative AI technologies. But the use of large language models in testing also raises new problems itself, for example regarding their explainability and reliability, where cooperation between research and practice is needed to answer them satisfactorily. I am looking forward to it, it remains exciting!

How will AI change software testing in the next five years?

AI technologies, driven in particular by new generative AI technologies, will make an important contribution to the further development of software testing in the coming years. There are new potentials, for example for generating test artifacts such as test cases, test data or defect reports, as well as new ways of interaction between humans and AI technology. Depending on the application domain and context, however, the influence of AI technologies will be felt to different degrees and at different speeds, as with other technologies.

As a software engineering researcher, I hope that new test approaches from research can be made available to testers in practice more quickly and with less technical and cognitive overhead through generative AI technologies, in order to improve the effectiveness and efficiency of testing further. But (generative) AI technologies also lead to new challenges, for example regarding their explainability and reliability. This requires the development of new quality assurance approaches for the AI technologies themselves. That means AI technologies will not only change the activity of testing itself, but also require the development of new quality assurance techniques for these AI technologies.

Which skills do testers need for that?

The importance of AI technologies in testing is steadily increasing: on the one hand, more and more AI technologies support the test process, on the other hand, more and more software-based systems that contain AI components are being tested. It is therefore important that testers understand and can apply AI technologies. Against this background and the gap mentioned above between the practical use of AI technologies in testing and the state of knowledge from software engineering research, I consider it essential that research and practice jointly work out future tester profiles and corresponding training formats.

Will the role of testing still exist in 10 years?

Software systems (and I also count systems based on artificial intelligence among them) are developed to (partly) automate use cases that ultimately serve human needs, that is, requirements in the broadest sense. This also applies, for example, to software systems for controlling satellites in space, where one might think they are autonomous and isolated from humans. Against this background, human testers will still be needed in ten years who check requirements, which always relate to humans and can ultimately only be accepted by humans. What is subject to constant change are the requirements to be checked, the process of testing and the tools used for it. But the role of the tester will still exist in ten years, and its importance may even increase. New forms of quality assurance will also be needed, both for AI-generated artifacts and for the processes of this AI-based generation.

More posts

View all →