首页    期刊浏览 2024年12月13日 星期五
登录注册

文章基本信息

  • 标题:Applying Genetic Algorithms to Test JUH DBs Exceptions
  • 本地全文:下载
  • 作者:Mohammad Alshraideh ; Ezdehar Jawabreh ; Basel A. Mahafzah
  • 期刊名称:International Journal of Advanced Computer Science and Applications(IJACSA)
  • 印刷版ISSN:2158-107X
  • 电子版ISSN:2156-5570
  • 出版年度:2013
  • 卷号:4
  • 期号:7
  • DOI:10.14569/IJACSA.2013.040702
  • 出版社:Science and Information Society (SAI)
  • 摘要:Database represents an essential part of software applications. Many organizations use database as a repository for large amount of current and historical information. With this context testing database applications is a key issue that deserves attention. SQL Exception handling mechanism can increase the reliability of the system and improve the robustness of the software. But the exception handling code that is used to respond to exceptional conditions tends to be the source of the systems failure. It is difficult to test the exception handling by traditional methods. This paper presents a new technique that combines mutation testing and global optimization based search algorithm to test exceptions code in Jordan University Hospital (JUH) database application. Thus, using mutation testing to speed the raising of exception and global optimization technique in order to automatically generate test cases, we used fitness function depends on range of data related to each query. We try to achieve the coverage of three types of PL/SQL exceptions, which are No_Data_Found (NDF), Too_Many_Rows (TMR) and Others exceptions. The results show that TMR exception is not always covered this due to existence of primary key in the query, also uncovered status appear in nested exceptions.
  • 关键词:thesai; IJACSA; thesai.org; journal; IJACSA papers; Database Application; Exception Handling; Mutation Testing; Genetic Algorithms; Select Statement.
国家哲学社会科学文献中心版权所有