Automated Requirements Validation for ATP Software via Specification Review and Testing

Complete and correct requirements specification is the foundation for developing high-quality Automatic Train Protection (ATP) software. Requirements validation aims at facilitating the completeness and correctness of the specification. In this paper, we propose a novel requirements validation approach combining diagram-guided specification review and scenario-based specification testing for ATP software. The specification is transformed into an executable prototype. Diagrams are generated from the prototype to visualize the interactions between variables for an effective review. To check whether the specification conforms to the user’s concerned scenarios of train operation, the scenarios are specified as test cases for testing the prototype. The conformance is then determined via test analysis. Through the review and the testing, the requirements specification is validated. The case study and experiments show that the approach achieves a higher error detection rate and while it reduces the time costs comparing to the traditional review method used by our industrial partner.

[1]  Karl E. Wiegers,et al.  Software Requirements , 1999 .

[2]  Thilo Schwinn,et al.  An Industrial Case Study to Examine a Non-Traditional Inspection Implementation for Requirements Specifications , 2002, Proceedings Eighth IEEE Symposium on Software Metrics.

[3]  Xinhong Hei,et al.  Model based specification validation for automatic train protection and block system , 2012, 2012 7th International Conference on Computing and Convergence Technology (ICCCT).

[4]  Stanley M. Sutton,et al.  Text2Test: Automated Inspection of Natural Language Use Cases , 2010, 2010 Third International Conference on Software Testing, Verification and Validation.

[5]  Shaoying Liu Utilizing specification testing in review task trees for rigorous review of formal specifications , 2003, Tenth Asia-Pacific Software Engineering Conference, 2003..

[6]  Chunhai Gao,et al.  Study on model-based safety verification of Automatic Train Protection system , 2009, 2009 Asia-Pacific Conference on Computational Intelligence and Industrial Applications (PACIIA).

[7]  Shaoying Liu,et al.  Integrating Animation-Based Inspection Into Formal Design Specification Construction for Reliable Software Systems , 2016, IEEE Transactions on Reliability.

[8]  Michael J. Butler,et al.  ProB: an automated analysis toolset for the B method , 2008, International Journal on Software Tools for Technology Transfer.

[9]  Seok-Won Lee,et al.  SQ^(2)E: An Approach to Requirements Validation with Scenario Question , 2010, 2010 Asia Pacific Software Engineering Conference.

[10]  Guo Xie,et al.  Study on Formal Specification of Automatic Train Protection and Block System for Local Line , 2011, 2011 Fifth International Conference on Secure Software Integration and Reliability Improvement - Companion.

[11]  Bashar Nuseibeh,et al.  Requirements engineering: a roadmap , 2000, ICSE '00.

[12]  Seok-Won Lee,et al.  Interactive requirements validation for reactive systems through virtual requirements prototype , 2011, 2011 Model-Driven Requirements Engineering Workshop.

[13]  Peter Gorm Larsen,et al.  VDMTools , 2008, ACM SIGPLAN Notices.

[14]  Kim G. Larsen,et al.  A Tutorial on Uppaal , 2004, SFM.

[15]  Rick Kazman,et al.  Customer Requirements Validation Method Based on Mental Models , 2014, 2014 21st Asia-Pacific Software Engineering Conference.

[16]  Angelo Gargantini,et al.  Automatic Model Driven Animation of SCR Specifications , 2003, FASE.

[17]  Michael J. Butler,et al.  ProB: A Model Checker for B , 2003, FME.

[18]  Monica Brockmeyer Using Modechart modules for testing formal specifications , 1999, Proceedings 4th IEEE International Symposium on High-Assurance Systems Engineering.

[19]  Joseph Robert Horgan,et al.  A tool suite for diagnosis and testing of software design specifications , 2000, Proceeding International Conference on Dependable Systems and Networks. DSN 2000.