Overview

LiveTCM builds upon our previous work, RTCM[1], a methodology for statically generating test cases from test case specifications (TCS).

RTCM is supported by a metamodel that formalizes key testing concepts such as test setup, test sequence, and test oracle, and enables the transformation of TCS in natural language into structured instances of the metamodel, which can then be converted into executable test cases.

To streamline this transformation process, RTCM includes a tabular template primarily for documenting event flows, along with a set of well-defined keywords such as VALIDATES THAT and INVOKE API to guide the accurate generation of test cases.

However, RTCM and similar MBT approaches fall short in testing ADS, as they rely on static test generation and do not sufficiently account for the evolving nature of these systems and their operational environments.

This highlights the need for a new methodology capable of generating and executing TCS dynamically, through continuous interaction with the system and its environment. Furthermore, the resulting TCS should be treated as valuable artifacts that contribute to a deeper understanding of both the system and its operational context.

LiveTCM

The LiveTCM Editor serves as the primary interface for users to interact with the LiveTCM framework. It provides a dedicated pane for specifying and visualizing key components of a TCS, including the precondition (test data specification), test setup, and test steps, which are organized as structured flows of events.

Test Case Specification Generator of LiveTCM can automatically and dynamically generate, execute, and verify TCS together with various test scenario generation strategies such as DeepCollision[2].

Research Publications

Explore our foundational research and related publications

Restricted Natural Language and Model-based Adaptive Test Generation for Autonomous Driving

Y. Shi, C. Lu, M. Zhang, H. Zhang, T. Yue and S. Ali, "Restricted Natural Language and Model-based Adaptive Test Generation for Autonomous Driving," 2021 ACM/IEEE 24th International Conference on Model Driven Engineering Languages and Systems (MODELS), 2021, pp. 101-111, doi: 10.1109/MODELS50736.2021.00019.

View Publication

Related Publications

[1] RTCM: a natural language based, automated, and practical test case generation framework
Tao Yue, Shaukat Ali, and Man Zhang
Proceedings of the 2015 International Symposium on Software Testing and Analysis (ISSTA 2015). Baltimore, MD, USA. Association for Computing Machinery, New York, NY, USA, 397–408
View Publication
[2] Learning Configurations of Operating Environment of Autonomous Vehicles to Maximize their Collisions
Chengjie Lu, Yize Shi, Huihui Zhang, Man Zhang, Tiexin Wang, Tao Yue, and Shaukat Ali
IEEE Transactions on Software Engineering 49, 1 (2023), 384–402
View Publication