• DocumentCode
    2027406
  • Title

    Automatic black-box method-level test case generation based on constraint logic programming

  • Author

    Hu, Yi-Tin ; Lin, Nai-Wei

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Eng., Nat. Chung Cheng Univ., Chiayi, Taiwan
  • fYear
    2010
  • fDate
    16-18 Dec. 2010
  • Firstpage
    977
  • Lastpage
    982
  • Abstract
    Software testing is the main activity to ensure the quality of software. This article proposes a testing framework that applies a black-box testing technique to automatically generate test cases for Java methods. The specification of Java methods is based on the Design by Contract software development approach. This article uses UML class diagrams and the Object Constraint Language to describe the specification of Java methods. The automatic generation of test cases is based on the unification mechanism and the powerful constraint solving mechanism of constraint logic programming. A novel characteristic of this approach is that the test input and its corresponding expected output of a test case are simultaneously generated in a unified fashion.
  • Keywords
    Java; Unified Modeling Language; logic programming; program testing; Java methods; UML class diagrams; automatic black box method level test case generation; black-box testing technique; constraint logic programming; contract software development approach; object constraint language; powerful constraint solving mechanism; software quality; software testing; testing framework; unification mechanism; Contracts; Flow graphs; Generators; Java; Niobium; Software testing; Unified modeling language; automatic test case generation; black-box testing; constraint logic programming;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Symposium (ICS), 2010 International
  • Conference_Location
    Tainan
  • Print_ISBN
    978-1-4244-7639-8
  • Type

    conf

  • DOI
    10.1109/COMPSYM.2010.5685369
  • Filename
    5685369