{"title":"UTGen: A Black-Box Method-Level Unit-Test Generator for JUnit Test-Platform","authors":"Chi-Kuang Chang, Nai-Wei Lin","doi":"10.1109/TSA.2015.12","DOIUrl":null,"url":null,"abstract":"Automatic test case execution is crucial for test-driven 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.","PeriodicalId":293345,"journal":{"name":"2015 Second International Conference on Trustworthy Systems and Their Applications","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 Second International Conference on Trustworthy Systems and Their Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TSA.2015.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
UTGen: A Black-Box Method-Level Unit-Test Generator for JUnit Test-Platform
Automatic test case execution is crucial for test-driven 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.