Using CHRs to generate functional test cases for the Java']Java Card Virtual Machine

被引:0
|
作者
Gouraud, SD [1 ]
Gotlieb, A [1 ]
机构
[1] IRISA, CNRS, UMR 6074, F-35042 Rennes, France
关键词
CHR; software testing; !text type='Java']Java[!/text] Card Virtual Machine;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automated functional testing consists in deriving test cases from the specification model of a program to detect faults within an implementation. In our work, we investigate using Constraint Handling Rules (CHRs) to automate the test cases generation process of functional testing. Our case study is a formal model of the Java Card Virtual Machine (JCVM) written in a sub-language of the Coq proof assistant. In this paper we define an automated translation from this formal model into CHRs and propose to generate test cases for each bytecode definition of the JCVM. The originality of our approach resides in the use of CHRs to faithfully model the formally specified operational semantics of the JCVM. The approach has been implemented in Eclipse Prolog and a full set of test cases have been generated for testing the JCVM.
引用
收藏
页码:1 / 15
页数:15
相关论文
共 50 条
  • [1] Implementation of Java']Java Card Virtual Machine
    Liu, SY
    Mao, ZG
    Ye, YZ
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2000, 15 (06) : 591 - 596
  • [2] Formalizing the safety of Java']Java, the Java']Java virtual machine, and Java']Java card
    Hartel, PH
    Moreau, L
    ACM COMPUTING SURVEYS, 2001, 33 (04) : 517 - 558
  • [3] Operational semantics of the Java']Java Card Virtual Machine
    Siveroni, IA
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2004, 58 (1-2): : 3 - 25
  • [4] Implementation of Java Card Virtual Machine
    刘嵩岩
    毛志刚
    叶以正
    Journal of Computer Science and Technology, 2000, (06) : 591 - 596
  • [5] Implementation of Java card Virtual Machine
    Songyan Liu
    Zhigang Mao
    Yizheng Ye
    Journal of Computer Science and Technology, 2000, 15 : 591 - 596
  • [6] Operational semantics of the Java Card Virtual Machine
    Siveroni, Igor A.
    J. Logic. Algebraic Program., 1-2 (3-25):
  • [7] A symbolic Java']Java virtual machine for test case generation
    Müller, RA
    Lembeck, C
    Kuchen, H
    Proceedings of the IASTED International Conference on Software Engineering, 2004, : 365 - 371
  • [8] Test of Exception Handling in Different Java']Java Virtual Machine
    Li, Tingting
    PROCEEDINGS OF THE 2016 5TH INTERNATIONAL CONFERENCE ON MEASUREMENT, INSTRUMENTATION AND AUTOMATION (ICMIA 2016), 2016, 138 : 543 - 546
  • [9] Performance Regression Testing on the Java']Java Virtual Machine using Statistical Test Oracles
    Hewson, Fergus
    Dietrich, Jens
    Marsland, Stephen
    2015 24TH AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC 2015), 2015, : 18 - 27
  • [10] A Defensive Java']Java Card Virtual Machine to Thwart Fault Attacks by Microarchitectural Support
    Lackner, Michael
    Berlach, Reinhard
    Hraschan, Michael
    Weiss, Reinhold
    Steger, Christian
    2013 INTERNATIONAL CONFERENCE ON RISKS AND SECURITY OF INTERNET AND SYSTEMS (CRISIS), 2013,