【24h】

AN AUTOMATED TESTING EXPERIMENT FOR MULTI-LAYERED EMBEDDED C CODE

机译:多层嵌入式C代码的自动化测试实验

获取原文

摘要

This paper describes an experiment using an automated tool for testing smart cards embedded software developed in C. Conventional testing of smart cards uses low-level commands and writing the use cases and test scripts is a error-prone and tedious task. Our goal was to show how one can use a formal tool to improve the testing process in order to concentrate better on the efficiency of the test. The approach consists in modeling each layer of the system independently while abstracting the services provided by the lower layers. The model is then verified, simulated and test cases are automatically generated using test criteria such as branch coverage or statement coverage. To use those generated test scripts, we developed a translator to execute the scripts on the C implementation of the system. We show the results obtained and the lessons learned from the application of this approach to the validation phase of a smart cards file system manager.
机译:本文介绍了使用自动化工具进行测试的实验,用于测试C中开发的嵌入式软件的智能卡。智能卡的传统测试使用低级命令并编写用例,测试脚本是一种容易出错的故障和繁琐的任务。我们的目标是展示如何使用正式工具来改善测试过程,以便在测试的效率上集中精力。该方法在抽象下层提供的服务的同时独立地建模每层系统。然后验证模型,使用测试标准(如分支覆盖范围或语句覆盖)自动生成模拟和测试用例。要使用生成的测试脚本,我们开发了一个转换器,用于在系统的C实现上执行脚本。我们显示所获得的结果以及从应用这种方法应用于智能卡文件系统管理器的验证阶段的经验教训。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号