LiveTCM: 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.
- LiveTCM: Restricted Natural Language and Model-based Adaptive Test Generation for Autonomous Driving
- We proposed a web-based and executable Test Case Specification (TCS) editor with the features of manually specifying TCSs, displaying generated TCSs and execution logs, and highlighting executing steps at runtime;
- We proposed one test generator and one TCS generator, which together with an execution engine, supports five different application contexts, such as step-wise or automatically executing already specified TCSs, and generating TCSs while execution, by interacting with the SUT and its operating environment via plugged-in REST APIs;
- We implemented an integrated and extensible framework for supporting automated testing of ADSs.
An overview of LiveTCM is shown here. It supports the full life cycle testing of evolving systems. LiveTCM is equipped with two types of TCS editors. One is for manually specifying TCSs (i.e., the TCS Editor) and the other is for dynamically completing TCSs (i.e., the Executable TCS Editor).
Below, we demonstrate the key features of the LiveTCM tool.
LiveTCM provides a model tree to create, modify, and delete model elements.
Testers can specify Test Setup in the Test Setup model view. It should include the basic flow and optionally one or more alternative flows.
Testers can specify TestCaseSpecification in the TestCaseSpecification model view and refer to an existing test setup, then the view will import the test setup.
Below, we demo the feature of the auto completion for APIs.
Testers can create an oracle verfication flow using the down arrow and make a link to the corresponding step in another flow of events.
Global verification flow can be reused wiht the feature of copy and paste.
LiveTCM automatically generates the basic flow.
LiveTCM can replay a test scenario.
Testers can switch between the dynamic mode and static mode during an execution by right-clicking the beginning of a step. Below, we show the feature of debugging with Pause and Stop.