• DocumentCode
    121824
  • Title

    A novel approach for test case generation from UML activity diagram

  • Author

    Jena, Ajay Kumar ; Swain, S.K. ; Mohapatra, Durga Prasad

  • Author_Institution
    Sch. of Comput. Eng., KIIT Univ., Bhubaneswar, India
  • fYear
    2014
  • fDate
    7-8 Feb. 2014
  • Firstpage
    621
  • Lastpage
    629
  • Abstract
    Software testing approaches are mainly divided into three types i.e. code based testing, specification based testing and model based testing. In model based testing, the testing can be started from the design process at the beginning phase. So, early detection of faults can be achieved by using this approach. An approach for the generation of test cases from UML (Unified Modelling Language) activity diagram using genetic algorithm has been presented in this paper. Early detection of faults can be achieved by this approach and will certainly reduce the time, cost and effort of the developer to a large extent. We propose a model to generate an Activity Flow Table (AFT) from an Activity Diagram and then convert it to Activity Flow Graph (AFG). Coverage criteria are very important in test case generation. By using activity coverage criterion we traverse the AFG and the test paths are generated. Finally, we generate the test cases from these paths. Genetic Algorithm has been applied to generate test cases and also to optimise them. The model is implemented on a case study of ATM Withdrawal system.
  • Keywords
    Unified Modeling Language; flow graphs; genetic algorithms; program testing; AFG; AFT; ATM withdrawal system; UML activity diagram; Unified Modelling Language; activity diagram; activity flow graph; activity flow table; code based testing; coverage criteria; genetic algorithm; model based testing; software testing approaches; specification based testing; test case generation; Online banking; Unified modeling language; Activity Diagram; Genetic Algorithm; Test Case Generation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Issues and Challenges in Intelligent Computing Techniques (ICICT), 2014 International Conference on
  • Conference_Location
    Ghaziabad
  • Type

    conf

  • DOI
    10.1109/ICICICT.2014.6781352
  • Filename
    6781352