• Home
  • Search
  • Generating Test Cases from Requirements: A Case Study in Railway Control System Domain
  • Cite Icon4
  • https://doi.org/10.1109/tase52547.2021.00029Copy DOI Icon

Generating Test Cases from Requirements: A Case Study in Railway Control System Domain

  • Aug 1, 2021
  • Hanyue Zheng +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Requirements-based testing is one of the most commonly used ways to ensure the correctness of software, especially for embedded control software in safety-critical domains such as spacecraft and railway systems. Many industrial standards such as the DO-333 and EN50128 also request rigorous requirements-based software testing. To test embedded control software effectively and efficiently, generating high-quality test cases automatically is extremely important. However, existing methods for generating test cases from requirements require intensive manual efforts and expertise. To address this problem, we proposed an automatic requirements-based software testing method for embedded control software. To obtain automatic test case generation and precise test oracles derivation, requirements specification should be precise and readable for the industrial practitioners. Therefore, we use the light-weight domain-specific formal description language, CASDL (Casco Accurate Specification Description Language) for the industrial practitioners to define software requirements into formal specifications at the first step. Based on the formal specification, we propose an algorithm to automatically generate test inputs that satisfy the MC/DC criteria suggested by typical industrial standards and precise test oracles can be derived by "running" the specification with such test inputs. To this end, we proposed an algorithm for simulating the formal specification to generate the test oracles, i.e., the expected outputs corresponding to the test inputs. To facilitate the application of this method in the industry, we have built a tool that can automatically perform the overall testing process. To validate and evaluate its effectiveness in real industrial projects, we have applied it in testing a real Automatic Train Protection (ATP) system provided by our industrial partner, the Casco Signal Co., Ltd (one of the largest railway control system companies in China). In the case study on ATP requirements, our approach generated test cases for 129 requirement items following MC/DC criteria and caught 40 inconsistencies between Casco's requirements and implementation.

Similar Papers
  • Conference Article
  • Citations1

Building and optimizing an expert system for ATP design

  • Oct 16, 1989
  • R Cremonini +2
  • Conference Article
  • Citations4

Model-based software development for automatic train protection system

  • Nov 01, 2009
  • Haifeng Wang +2
  • Conference Article
  • Citations69

RESTest: automated black-box testing of RESTful web APIs

  • Jul 11, 2021
  • Alberto Martin-Lopez +2
  • Conference Article
  • Citations1

A Test Cases Generation Method for ATP

  • Dec 03, 2020
  • Yao Li +4
  • Book Chapter

Synthesizing Use and Misuse Case Specification with Integrated Safety Analysis in Railway Control System

  • Jan 01, 2019
  • Anit Thapaliya +1
  • Conference Article
  • Citations6

A freshness detection mechanism for railway applications

  • Mar 03, 2004
  • A Bondavalli +4
  • Conference Article
  • Citations1

Design and Evaluation of Universal On-board Train Interface Unit

  • Aug 01, 2012
  • Ping Tan +4
  • Conference Article
  • Citations3

A formal modeling and verification approach for real-time system

  • Jan 01, 2008
  • Fei Yan +1
  • PDF
  • Research Article
  • Citations2

Finding Cross-Rule Optimization Bugs in Datalog Engines

  • Apr 29, 2024
  • Proceedings of the ACM on Programming Languages
  • Chi Zhang +2
  • Research Article
  • Citations1

Digital standard interfaces in railway traffic control systems

  • Dec 01, 2020
  • WUT Journal of Transportation Engineering
  • Paweł Wontorski +1
  • Conference Article
  • Citations19

Automatic test case selection and generation for regression testing of composite service based on extensible BPEL flow graph

  • Sep 01, 2010
  • Bixin Li +3
  • Research Article
  • Citations35

Runtime verification of train control systems with parameterized modal live sequence charts

  • Mar 29, 2021
  • Journal of Systems and Software
  • Ming Chai +3
  • Research Article
  • Citations1

Automated Test Case Generation for Effective Spectrum-based Fault Localization

  • Jun 01, 2020
  • Journal of Physics: Conference Series
  • Bo Yang +2
  • Conference Article
  • Citations1

Automated Test Case Generation from Activity Diagram using Depth-First Search

  • Aug 09, 2023
  • Ignasius Teguh Raharjo Rubiyo +2
  • Conference Article
  • Citations11

Automated EFSM-based test case generation with scatter search

  • Jun 02, 2012
  • Jie Zhang +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.