✍️ 🧑‍🦱 💚 Autor:innen verdienen bei uns doppelt. Dank euch haben sie so schon 362.450 € mehr verdient. → Mehr erfahren 💪 📚 🙏

GENETIC ALGORITHMS AUTOMATE TEST CASE CREATION

GENETIC ALGORITHMS AUTOMATE TEST CASE CREATION

von Seema Rani
Softcover - 9780662780533
32,40 €
  • Versandkostenfrei
Auf meine Merkliste
  • Hinweis: Print on Demand. Lieferbar in 5 Tagen.
  • Lieferzeit nach Versand: ca. 1-2 Tage
  • inkl. MwSt. & Versandkosten (innerhalb Deutschlands)

Autorenfreundlich Bücher kaufen?!

Beschreibung

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.

Details

Verlag San Pride Publishers
Ersterscheinung Juni 2023
Maße 22.9 cm x 15.2 cm x 0.9 cm
Gewicht 237 Gramm
Format Softcover
ISBN-13 9780662780533
Seiten 156