Applying property-based testing in teaching safety-critical system programming

被引:0
|
作者
Fredlund, Lars-Ake [1 ]
Herranz, Angel [1 ]
Marino, Julio [1 ]
机构
[1] Univ Politecn Madrid, Babel Grp, Madrid, Spain
关键词
Testing; !text type='Java']Java[!/text; Concurrency; Safety;
D O I
10.1109/SEAA.2015.53
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
At the Universidad Politcnica de Madrid students attending a course on concurrency are taught a high-level formalism which permits concise specification of shared resources. This formalism is used to express safety-critical access policies for typical control problems such as robot plants. Students are moreover provided with programming recipes for implementing such shared resource specifications in programming languages (typically Java). The teachers of the course use various tools to ensure that the implementations developed by students for a shared resource are of an acceptable quality. Such tools include normal unit tests, but also the systematic application of property-based testing to judge the quality of the exercises. In this article we provide an overview of the tools, techniques and methods used in one particular exercise of the course: the implementation of a control system for an automated warehouse.
引用
收藏
页码:309 / 316
页数:8
相关论文
共 50 条
  • [1] Teaching students Property-based Testing
    Earle, Clara Benac
    Fredlund, Lars-Ake
    Marino, Julio
    Arts, Thomas
    2014 40TH EUROMICRO CONFERENCE SERIES ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2014), 2014, : 437 - 442
  • [2] Property-Based Testing for the Robot Operating System
    Santos, Andre
    Cunha, Alcino
    Macedo, Nuno
    PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, : 56 - 62
  • [3] An Approach for automated safety testing of safety-critical software system based on safety requirements
    Yu, Gang
    Xu, Zhong Wei
    Du, Jun Wei
    2009 INTERNATIONAL FORUM ON INFORMATION TECHNOLOGY AND APPLICATIONS, VOL 3, PROCEEDINGS, 2009, : 166 - 169
  • [4] Developments in Property-Based Testing
    Midtgaard, Jan
    PROCEEDINGS OF THE ACM SIGPLAN WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION (PEPM'18), 2018, : 1 - 1
  • [5] Testing Result Statistics-Based Rapid Testing Method for Safety-Critical System
    Zhi-Yao Deng and Nan Sang School of University of Electronic Science and Technology of China (UESTC)
    Journal of Electronic Science and Technology of China, 2008, (03) : 338 - 341
  • [6] Targeted Property-Based Testing
    Loscher, Andreas
    Sagonas, Konstantinos
    PROCEEDINGS OF THE 26TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA'17), 2017, : 46 - 56
  • [7] A Primer on Property-Based Testing
    Koparkar, Chaitanya
    XRDS: Crossroads, 2024, 30 (02): : 40 - 41
  • [8] Property-Based Mutation Testing
    Bartocci, Ezio
    Mariani, Leonardo
    Nickovic, Dejan
    Yadav, Drishti
    2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST, 2023, : 222 - 233
  • [9] Foundational Property-Based Testing
    Paraskevopoulou, Zoe
    Hritcu, Catalin
    Denes, Maxime
    Lampropoulos, Leonidas
    Pierce, Benjamin C.
    INTERACTIVE THEOREM PROVING, 2015, 9236 : 325 - 343
  • [10] Testing safety-critical software
    Nikolaropoulos, E
    HEWLETT-PACKARD JOURNAL, 1997, 48 (03): : 89 - 94