IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/642630.html
   My bibliography  Save this article

Path-Wise Test Data Generation Based on Heuristic Look-Ahead Methods

Author

Listed:
  • Ying Xing
  • Yun-Zhan Gong
  • Ya-Wen Wang
  • Xu-Zhou Zhang

Abstract

Path-wise test data generation is generally considered an important problem in the automation of software testing. In essence, it is a constraint optimization problem, which is often solved by search methods such as backtracking algorithms. In this paper, the backtracking algorithm branch and bound and state space search in artificial intelligence are introduced to tackle the problem of path-wise test data generation. The former is utilized to explore the space of potential solutions and the latter is adopted to construct the search tree dynamically. Heuristics are employed in the look-ahead stage of the search. Dynamic variable ordering is presented with a heuristic rule to break ties, values of a variable are determined by the monotonicity analysis on branching conditions, and maintaining path consistency is achieved through analysis on the result of interval arithmetic. An optimization method is also proposed to reduce the search space. The results of empirical experiments show that the search is conducted in a basically backtrack-free manner, which ensures both test data generation with promising performance and its excellence over some currently existing static and dynamic methods in terms of coverage. The results also demonstrate that the proposed method is applicable in engineering.

Suggested Citation

  • Ying Xing & Yun-Zhan Gong & Ya-Wen Wang & Xu-Zhou Zhang, 2014. "Path-Wise Test Data Generation Based on Heuristic Look-Ahead Methods," Mathematical Problems in Engineering, Hindawi, vol. 2014, pages 1-19, May.
  • Handle: RePEc:hin:jnlmpe:642630
    DOI: 10.1155/2014/642630
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/MPE/2014/642630.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/MPE/2014/642630.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2014/642630?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:jnlmpe:642630. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.