• DocumentCode
    3696806
  • Title

    UTGen: A Black-Box Method-Level Unit-Test Generator for JUnit Test-Platform

  • Author

    Chi-Kuang Chang;Nai-Wei Lin

  • Author_Institution
    Dept. of Comput. Sci. &
  • fYear
    2015
  • fDate
    7/1/2015 12:00:00 AM
  • Firstpage
    1
  • Lastpage
    7
  • Abstract
    Automatic test case execution is crucial for testdriven development (TDD) approach. It is beneficial if test cases can be automatically generated and executed. In this paper, we present UTGen, an Eclipse plugin for the generation and execution of test cases for JUnit test-platform. It is based on the idea of constraint-based testing, working for the methodlevel black-box unit testing. Test data are generated from models specified in UML class diagrams and OCL specifications. Each test data contains test fixture, test inputs and expected outputs. UTGen converts the test data into test cases, and can execute the test cases automatically.
  • Keywords
    "Unified modeling language","Testing","Object oriented modeling","Software","Context","Data models","Cognition"
  • Publisher
    ieee
  • Conference_Titel
    Trustworthy Systems and Their Applications (TSA), 2015 Second International Conference on
  • Type

    conf

  • DOI
    10.1109/TSA.2015.12
  • Filename
    7335938