错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Automatic Code Scraping Based Test Case Generation

  • Arunkumar Chinnaswamy,
  • B. A. Sabarish

摘要

Software testing is a critical phase in the software development life cycle, ensuring the reliability and functionality of applications. The major challenge in this process is the generation of effective test cases, which demands a comprehensive understanding of the underlying codebase. This paper presents a novel approach called Code Scraping Based Test case generation, leveraging automated techniques to extract relevant information from source code and subsequently generate comprehensive test cases. The CSBT methodology involves code parsing and algorithmic analysis to identify key components to infer the expected behavior of the program and hence ensuring the generation of relevant and meaningful test cases. Dynamic analysis techniques (Continuous Integration and Continuous Deployment) are integrated to validate the generated test cases against the actual code execution, enhancing the accuracy and coverage of the testing process. The results demonstrate notable improvements in both the efficiency and effectiveness of the testing process, showcasing CSBT's ability to adapt to various programming languages and project complexities.