eprintid: 3580 rev_number: 6 eprint_status: archive userid: 289 dir: disk0/00/00/35/80 datestamp: 2019-11-01 16:40:19 lastmod: 2019-11-01 16:40:19 status_changed: 2019-11-01 16:40:19 type: article succeeds: 3472 metadata_visibility: show creators_name: Chu, Minh Hue creators_name: Dang, Duc Hanh creators_name: Nguyen, Ngoc Binh creators_name: Truong, Anh Hoang creators_id: hanhdd@vnu.edu.vn creators_id: nnbinh@vnu.edu.vn creators_id: hoangta@vnu.edu.vn title: USLTG: Test Case Automatic Generation by Transforming Use Cases ispublished: pub subjects: IT subjects: Scopus subjects: isi divisions: fac_fit abstract: This paper proposes a transformation-based method to automatically generate functional test cases from use cases named USLTG (USL-based Test Generation). We first focus on developing a modeling language named Test Case Specification Language (TCSL) in order to express test cases. Test cases in TCSL can contain detailed information including test steps, test objects within steps, actions of test objects, and test data. Such information is often ignored in currently available test case specifications. We then aim to generate test cases in a TCSL model by a transformation from use cases that are represented by a Use case Specification Language (USL). The USLTG transformation includes three main steps, in generating: (1) scenarios, (2) test data, and (3) a TCSL model. Within our transformation, the OCL solver is employed in order to build system snapshots as the part of test cases and to identify other test data. We applied our method to two case studies and evaluated our method by comparing with other recent works. date: 2019-10 date_type: published publisher: World Scientific Publishing official_url: https://www.worldscientific.com/doi/abs/10.1142/S0218194019500414 id_number: 10.1142/S0218194019500414 full_text_status: none publication: International journal of software engineering and knowledge engineering (IJSEKE) volume: 29 number: 9 pagerange: 1313-1345 refereed: TRUE issn: 0218-1940 citation: Chu, Minh Hue and Dang, Duc Hanh and Nguyen, Ngoc Binh and Truong, Anh Hoang (2019) USLTG: Test Case Automatic Generation by Transforming Use Cases. International journal of software engineering and knowledge engineering (IJSEKE), 29 (9). pp. 1313-1345. ISSN 0218-1940