• DocumentCode
    241184
  • Title

    A state-based fitness function for the integration testing of object-oriented programs

  • Author

    Bashir, Muhammad Bilal ; Nadeem, Aamer

  • Author_Institution
    Center for Software Dependability, Mohammad Ali Jinnah Univ., Islamabad, Pakistan
  • fYear
    2014
  • fDate
    8-9 Dec. 2014
  • Firstpage
    24
  • Lastpage
    29
  • Abstract
    Testing object-oriented program is quite challenging task due to the nature of its features like inheritance and polymorphism. In practice test case generation is the most laborious and resource consuming process in software testing hence generating test data for object-oriented programs is even more challenging and effort demanding. Object-oriented evolutionary testing aims at automating test case generation process using evolutionary strategies like Genetic Algorithm. Evolutionary testing gives a helping hand to the software testers to speed up the process and to reduce the amount of project resources. The existing approaches provide sound platform to the researchers to take the work further to meet the challenges that object-oriented paradigm has introduced. One of the limitations in existing approaches is that they combine branch distance of object´s state variables with local variables that leaves no guidance for the search process whether object has gained desired state or not. We propose a state-based fitness function for the evolutionary testing of object-oriented programs that can solve object´s state problem by evaluating object´s state as an independent segment of overall test case fitness. Our initial experiments show that by separating object´s state evaluation, search gets better guidance to prevent object´s state problem.
  • Keywords
    genetic algorithms; object-oriented methods; program testing; branch distance; evolutionary strategy; genetic algorithm; integration program testing; object state evaluation; object-oriented evolutionary testing; object-oriented paradigm; object-oriented program; software testing; state-based fitness function; test case generation; Genetic algorithms; Instruments; Java; Sociology; Software; Statistics; Testing; genetic algorithm; integration testing; object´s state problem; object-oriented paradigm;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Emerging Technologies (ICET), 2014 International Conference on
  • Conference_Location
    Islamabad
  • Print_ISBN
    978-1-4799-6088-0
  • Type

    conf

  • DOI
    10.1109/ICET.2014.7021011
  • Filename
    7021011