Skip to content

simplexity-lab/LiveTCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

1. Contributions

  1. 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;
  2. 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;
  3. We implemented an integrated and extensible framework for supporting automated testing of ADSs.

2. Overview

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).

overview

3. Demonstration of the LiveTCM Tool

Below, we demonstrate the key features of the LiveTCM tool.

1. Model Tree

LiveTCM provides a model tree to create, modify, and delete model elements.

overview

2. TestSetup

Testers can specify Test Setup in the Test Setup model view. It should include the basic flow and optionally one or more alternative flows.

overview

3. TestCaseSpecification & Reference

Testers can specify TestCaseSpecification in the TestCaseSpecification model view and refer to an existing test setup, then the view will import the test setup.

overview

overview

4. Auto-Completion

Below, we demo the feature of the auto completion for APIs.

overview

5. Alternative Flows

oracle verification flow

Testers can create an oracle verfication flow using the down arrow and make a link to the corresponding step in another flow of events.

overview

global verification flow

Global verification flow can be reused wiht the feature of copy and paste.

overview

6. Dynamic generation

LiveTCM automatically generates the basic flow.

overview

7. Replay execution

LiveTCM can replay a test scenario.

overview

8. Switch Mode & Pause and Stop execution

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.

Alt Text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published