Table of Contents
The Myth of AI Testing
The first question: Can AI-assisted testing really be used?
Second question: To what extent has AI-assisted testing developed?
The third question: Which software systems can be tested with AI assistance?
Summary
Home Technology peripherals AI Myths about AI testing

Myths about AI testing

Apr 13, 2023 pm 05:04 PM
ai automated test

In recent years, I have been paying attention to AI-related testing and actively participated in multiple national testing communities and communities. In these communities, I communicate with testing experts from different companies and fields to discuss topics related to AI testing, including experts from top companies in the industry and well-known domestic testing scholars. I also participated in many conferences, listened to many sharings on AI testing topics, and tried a variety of AI-related testing tools, from which I gained a lot of knowledge and insights.

In these testing communities and communities, I encountered many questions about AI testing, such as what is AI testing, how to conduct AI testing, what tools and methods are available for AI testing, etc. However, when I searched for books related to AI testing on the Internet, I found a large number of books related to AI development, but few books specifically introduced AI testing. This shows that the testing industry is still groping forward in chaos.

In order to share the knowledge and experience I have learned about AI testing, I sorted out my learning experience, tried to answer some common questions I encountered about AI testing, and organized these contents into articles , communicate and discuss with everyone.

Myths about AI testing

The Myth of AI Testing

When discussing AI testing, there are usually two understandings:

  • The first one It uses AI to assist current software testing, such as using AI systems to learn test analysis and test design, and then automatically generate test cases and automatically implement these test cases.
  • The second is to test the AI ​​system. Although the industry still uses conventional testing methods for testing AI systems, such as functional testing, performance testing, and security testing, it is often difficult to obtain clear test data and acceptance conditions when testing the effectiveness of its functions. In this case, testing can only be done through a deep understanding of the algorithm and by generating or finding data based on experience, and roughly assessing the validity of the functional test results.

The use of AI to assist current automated testing is an emerging field. Using AI (such as deep learning) systems to assist testing work is definitely one of the hottest testing trends in recent years, including automatically generating and executing automated tests, large-scale test result analysis, automated exploratory testing, defect location, etc.

Many companies in the United States have launched commercial AI testing tools. In Teacher Zhu Shaomin's public account "Software Quality Report", there is an article titled "The future is here, artificial intelligence testing is unstoppable: Introducing 9 AI testing tools", which introduces 9 AI-based testing tools. However, these AI testing tools commonly have problems such as test case accuracy and large-scale test case maintainability.

The first question: Can AI-assisted testing really be used?

Although many companies have begun to study AI-assisted testing and many tools have come out, they all have one significant problem: accuracy. Due to the limitations of the existing AI learning algorithm itself, the accuracy of the test cases and verification conditions learned and generated is not very high. I have attended several conferences where the accuracy rate of AI-assisted testing shared by some of China's first-tier Internet manufacturers was only slightly above 80% and less than 90%. This kind of accuracy is difficult to be recognized in some systems that require high accuracy, such as finance.

Secondly, when the scale of automated test cases is large, it is difficult to rely on manual maintenance of test cases and can only rely on tools. Due to the inaccuracy of AI testing tools, the accuracy of maintenance work is not very ideal.

Nonetheless, in large systems with low quality requirements, AI-assisted testing can greatly reduce testing costs, so in these systems, AI-assisted automated testing has been applied. In addition, in projects with high quality requirements and sufficient resources, AI-assisted testing can be used as an extension of manual automated testing and as a tool for automated exploratory testing to further ensure software quality.

Second question: To what extent has AI-assisted testing developed?

Currently, AI-assisted testing is still in its infancy. I divide AI-assisted testing into three stages:

  • The first stage is to automatically generate the input of test cases through the deep learning model, and then manually verify the correctness of the output results.
  • The second stage is to automatically generate test case input through the deep learning model, and automatically verify the correctness of the output results through the rule model.
  • The third stage is to automatically generate the input and output of the test case through the deep learning model, and automatically verify the correctness of the output results.

At present, the industry has basically realized the first stage, and some companies have also begun to realize the second stage. However, only a handful of large companies have achieved stage three, and the accuracy of these companies has yet to be improved. Therefore, AI-assisted testing still has a long way to go.

The third question: Which software systems can be tested with AI assistance?

Theoretically, any software system can use AI to assist in automated testing. However, due to the current status of AI testing systems, it cannot truly be used for all types of software systems. Many actual projects only use AI testing on specific interface layers of certain systems, such as Web Service APIs, etc.

In different industry fields, the usage of AI testing is also different. For example, in industries with high quality requirements such as finance and military industry, AI testing can currently only be used as an extension of existing functional automated testing. In industries with low quality requirements such as the Internet, some companies with strong technical capabilities have adopted AI testing as one of the main automated testing methods. However, AI-assisted automated testing is undoubtedly the future of automated testing!

Summary

Through the answers to the questions above, I hope to solve everyone’s confusion about AI testing, including understanding what AI testing is, whether your project is suitable for AI testing, and whether it is needed in the future. Issues such as investing in AI testing.

To sum up, AI testing is still in the early stages of development, so it is not suitable for large-scale use and can only be considered for use in specific projects. Whether you use AI or manual methods to implement automated testing, the core is the effectiveness of the test, the accuracy of the test results, and the maintainability of the test cases. These are critical factors in the success of automated testing at scale.

Therefore, whether it is AI automated testing or manual automated testing, its core essence is the same: relying on a series of human thinking such as knowledge learning, analysis, and summary to solve test analysis, test design, and automated test implementation work. However, the current development of the AI ​​system itself is not enough to replace human work in test analysis and test design. As a result, the accuracy and maintainability of automated tests implemented by AI are worse than manual methods. However, AI testing has obvious advantages in terms of time and cost, which is why it is becoming more and more popular.

Therefore, in the field of testing, AI needs to work harder to truly replace human work. Before considering using AI testing, the specific needs and conditions of the project should be carefully evaluated to determine whether AI testing is appropriate. In the future, with the continuous development and improvement of AI technology, AI testing will become an important trend in automated testing, and investing in AI testing related technologies and talents will also be a wise choice.

The above is the detailed content of Myths about AI testing. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Centos shutdown command line Centos shutdown command line Apr 14, 2025 pm 09:12 PM

The CentOS shutdown command is shutdown, and the syntax is shutdown [Options] Time [Information]. Options include: -h Stop the system immediately; -P Turn off the power after shutdown; -r restart; -t Waiting time. Times can be specified as immediate (now), minutes ( minutes), or a specific time (hh:mm). Added information can be displayed in system messages.

How to check CentOS HDFS configuration How to check CentOS HDFS configuration Apr 14, 2025 pm 07:21 PM

Complete Guide to Checking HDFS Configuration in CentOS Systems This article will guide you how to effectively check the configuration and running status of HDFS on CentOS systems. The following steps will help you fully understand the setup and operation of HDFS. Verify Hadoop environment variable: First, make sure the Hadoop environment variable is set correctly. In the terminal, execute the following command to verify that Hadoop is installed and configured correctly: hadoopversion Check HDFS configuration file: The core configuration file of HDFS is located in the /etc/hadoop/conf/ directory, where core-site.xml and hdfs-site.xml are crucial. use

What are the backup methods for GitLab on CentOS What are the backup methods for GitLab on CentOS Apr 14, 2025 pm 05:33 PM

Backup and Recovery Policy of GitLab under CentOS System In order to ensure data security and recoverability, GitLab on CentOS provides a variety of backup methods. This article will introduce several common backup methods, configuration parameters and recovery processes in detail to help you establish a complete GitLab backup and recovery strategy. 1. Manual backup Use the gitlab-rakegitlab:backup:create command to execute manual backup. This command backs up key information such as GitLab repository, database, users, user groups, keys, and permissions. The default backup file is stored in the /var/opt/gitlab/backups directory. You can modify /etc/gitlab

How is the GPU support for PyTorch on CentOS How is the GPU support for PyTorch on CentOS Apr 14, 2025 pm 06:48 PM

Enable PyTorch GPU acceleration on CentOS system requires the installation of CUDA, cuDNN and GPU versions of PyTorch. The following steps will guide you through the process: CUDA and cuDNN installation determine CUDA version compatibility: Use the nvidia-smi command to view the CUDA version supported by your NVIDIA graphics card. For example, your MX450 graphics card may support CUDA11.1 or higher. Download and install CUDAToolkit: Visit the official website of NVIDIACUDAToolkit and download and install the corresponding version according to the highest CUDA version supported by your graphics card. Install cuDNN library:

Detailed explanation of docker principle Detailed explanation of docker principle Apr 14, 2025 pm 11:57 PM

Docker uses Linux kernel features to provide an efficient and isolated application running environment. Its working principle is as follows: 1. The mirror is used as a read-only template, which contains everything you need to run the application; 2. The Union File System (UnionFS) stacks multiple file systems, only storing the differences, saving space and speeding up; 3. The daemon manages the mirrors and containers, and the client uses them for interaction; 4. Namespaces and cgroups implement container isolation and resource limitations; 5. Multiple network modes support container interconnection. Only by understanding these core concepts can you better utilize Docker.

Centos install mysql Centos install mysql Apr 14, 2025 pm 08:09 PM

Installing MySQL on CentOS involves the following steps: Adding the appropriate MySQL yum source. Execute the yum install mysql-server command to install the MySQL server. Use the mysql_secure_installation command to make security settings, such as setting the root user password. Customize the MySQL configuration file as needed. Tune MySQL parameters and optimize databases for performance.

How to view GitLab logs under CentOS How to view GitLab logs under CentOS Apr 14, 2025 pm 06:18 PM

A complete guide to viewing GitLab logs under CentOS system This article will guide you how to view various GitLab logs in CentOS system, including main logs, exception logs, and other related logs. Please note that the log file path may vary depending on the GitLab version and installation method. If the following path does not exist, please check the GitLab installation directory and configuration files. 1. View the main GitLab log Use the following command to view the main log file of the GitLabRails application: Command: sudocat/var/log/gitlab/gitlab-rails/production.log This command will display product

How to operate distributed training of PyTorch on CentOS How to operate distributed training of PyTorch on CentOS Apr 14, 2025 pm 06:36 PM

PyTorch distributed training on CentOS system requires the following steps: PyTorch installation: The premise is that Python and pip are installed in CentOS system. Depending on your CUDA version, get the appropriate installation command from the PyTorch official website. For CPU-only training, you can use the following command: pipinstalltorchtorchvisiontorchaudio If you need GPU support, make sure that the corresponding version of CUDA and cuDNN are installed and use the corresponding PyTorch version for installation. Distributed environment configuration: Distributed training usually requires multiple machines or single-machine multiple GPUs. Place

See all articles