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
来源
PROCEEDINGS 41ST EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS SEAA 2015 | 2015年
关键词
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
相关论文
共 8 条
[1]  
[Anonymous], 2006, P 2006 ACM SIGPLAN W
[2]  
Carro M, 2004, LECT NOTES COMPUT SC, V3294, P85
[3]  
Cesarini Francesco, 2009, Erlang Programming: A Concurrent Approach to Software Development
[4]   A Testing-Based Approach to Ensure the Safety of Shared Resource Concurrent Systems [J].
Fredlund, Lars- Ake ;
Herranz, Angel ;
Marino, Julio .
SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2014, 2015, 8938 :116-130
[5]  
Herranz Angel, 2012, Formal Verification of Object-Oriented Software. International Conference, FoVeOOS 2011. Revised Selected Papers, P160, DOI 10.1007/978-3-642-31762-0_11
[6]  
Herranz A, 2009, LECT NOTES COMPUT SC, V5825, P102, DOI 10.1007/978-3-642-04570-7_9
[7]  
Mario J., 2015, MODEL BASED TH UNPUB
[8]  
Welch P, 2007, CONCUR SYST ENGN SER, V65, P349