TOP
紅利積點抵現金,消費購書更貼心
Genetic Algorithms Automate Test Case Creation
滿額折

Genetic Algorithms Automate Test Case Creation

商品資訊

定價
:NT$ 1216 元
無庫存,下單後進貨(到貨天數約30-45天)
下單可得紅利積點:36 點
商品簡介

商品簡介

Genetic algorithms are computational methods inspired by the principles of natural selection and genetics. They are often used to solve complex optimization problems by mimicking the process of evolution. One area where genetic algorithms have proven to be effective is in automating test case creation for software testing.

In the context of software testing, test cases are typically created manually by software testers based on their understanding of the system requirements and expected behavior. This process can be time-consuming, labor-intensive, and prone to human error. Genetic algorithms offer a way to automate and optimize this process by leveraging the principles of evolution.

The automation of test case creation using genetic algorithms typically involves the following steps:

1. Initial population: A set of randomly generated test cases is created as the initial population. Each test case represents a potential solution to the testing problem.

2. Fitness evaluation: Each test case in the population is evaluated based on predefined fitness criteria. These criteria measure how well a test case satisfies the testing objectives, such as code coverage or fault detection capability.

3. Selection: Test cases with higher fitness scores are selected for reproduction, aiming to pass their favorable traits to the next generation. Various selection techniques, such as tournament selection or roulette wheel selection, can be employed to choose the parents for reproduction.

4. Reproduction: The selected test cases are combined through genetic operators like crossover and mutation. Crossover involves exchanging genetic material between two test cases to create offspring with a combination of their traits. Mutation introduces small random changes to the test cases to maintain diversity and explore new areas of the search space.

5. Population evolution: The offspring become part of the new population, replacing some of the less fit test cases from the previous generation. This population evolution process continues iteratively for a predefined number of generations or until a termination condition is met.

6. Termination and solution extraction: The genetic algorithm terminates when the stopping criteria are satisfied. The final population of test cases represents a set of optimized solutions or near-optimal solutions to the test case creation problem.

By iteratively applying selection, reproduction, and population evolution, genetic algorithms can effectively explore the search space of possible test cases, gradually improving the quality and coverage of the generated test cases. This automation approach can save time and effort in test case creation while potentially uncovering hard-to-find bugs or edge cases that might be missed in manual testing.


購物須知

外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。

無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。

為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。

若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

定價:100 1216
無庫存,下單後進貨
(到貨天數約30-45天)

暢銷榜

客服中心

收藏

會員專區