当前位置:网站首页>Full analysis of embedded software testing tool tpt18 update
Full analysis of embedded software testing tool tpt18 update
2022-06-23 03:45:00 【Polink beihui information】
TPT As Piketec The company's embedded software testing tools , It has high scalability and convenience . As software testing becomes more and more complex and the requirements are diversified ,TPT Continuously improve to meet the requirements of keeping pace with the times . You can use... At all stages of development TPT To test . Whether it is simple unit testing or complex system testing ,TPT Can make testing faster 、 Simple and intuitive .
that , TPT18 How to make testing simple and fast ?
【 Beihui information 】TPT | Embedded software model dynamic testing tool TPT 18
TPT18 Update overall preview :
1, Add formal needs assessment , Implementation requirements are strongly related to evaluation ;
2, More flexible requirements management , Support custom function requirements ;
3, be based on TASMO hold-all , Auto generate satisfaction MCDC Required test cases ;
4, New coverage statistics tool TPT Coverage;
5, Enrich MATLAB Platform functions ;
6, How to add a given excitation signal (TPT Built in functions );
7, Batch Runner Interface and function update ;
8, ASAM XiL And Vector Series platform related updates ;
other :
1, newly added Simulink Real-Time XiL platform , Support the new generation Speedgoat Hardware ;
2, Carmaker Platform Optimize interface interaction , And the current test can pass IPG visualization ;
3, New evaluation function ,TPT.getConstant and TPT.isConstant(), Supports arbitrary expressions ;
4, Global assessments can be added to Assesslet in , It can be activated for any platform ;
5, Before and after test execution , Additable Python Script, Implement custom functionality ;
6, stay Test Case Details/Description Evaluation conditions can be derived from ;
7, Test Case Summary Linked requirements can be displayed in ID;
……
I wonder if you have seen our preemptive version ?
· Model dynamic testing tool TPT 18 The new version goes online , Help test efficiency one step faster
· Model dynamic testing tool TPT 18 More new features ——HiL test 、 demand management
·TPT 18 Function expansion and update :IBM ALM, Equivalence class ,ADAS test , Code debugging
Now we will introduce it in detail :
List of articles
- One 、 Formal needs assessment
- Two 、 More flexible requirements management
- 3、 ... and 、 TASMO Support MC/DC Automatically generate test cases
- Four 、 New code coverage statistics tool ——TPT Coverage
- 5、 ... and 、 Enrich MALTAB Platform functions
- 6、 ... and 、 Ways to enrich a given excitation signal (TPT Built in functions )
- 7、 ... and 、 Batch Runner Interface and function update
- 8、 ... and 、 ASAM XiL And Vector Related updates
One 、 Formal needs assessment
Do you want to edit requirements without writing assessments ? Now? TPT18 Formal needs assessment can meet this requirement .
Formal requirements are concise 、 Clear and evaluable characteristics . stay TPT18 in , You can import Excel Requirements are translated into formal requirements assessment . Formal requirements are not just requirements covered by link relationships , It's a more direct assessment of needs .
such as , Lamp control model requirements SPEC-17, It can be translated into the following formal requirements assessment .
The test results are as follows .

Two 、 More flexible requirements management
TPT18 front , Functional requirements can only be imported from outside , Can't be in TPT Change in . Although this can ensure the unity of requirements , But it also brings inconvenience to the change of functional requirements . stay TPT18 in , But directly in Requirements Change in / Create a new functional requirement / Sub functional requirements , And the requirements will not change with the introduction of functional requirements .

3、 ... and 、 TASMO Support MC/DC Automatically generate test cases
What if the test coverage fails to meet the requirements ? Consider using TASMO.TASMO According to the model / Code structure generates test cases , Improve test coverage .
TPT18 In addition to supporting CC and DC Outside coverage , And support MCDC Cover , It is easier to achieve the desired coverage .
For example, in the model OR modular , If it is necessary to meet MCDC, The following conditions must be included :
1, All inputs are False;
2, One input is True, The rest are False;
stay TPT18 in , The following structures can be analyzed , And automatically generate test cases according to this structure .

Four 、 New code coverage statistics tool ——TPT Coverage
TPT When calculating coverage , Offers a variety of options , During the test, it can be decided according to its own situation .
In the model phase , You can call Targetlink、CTC++ for Targetlink and Simulink V&V Statistical coverage .
In the code phase , except CTC++ and GNU gcov Outside , It also provides TPT Coverage Statistical coverage .



5、 ... and 、 Enrich MALTAB Platform functions
1) MATLAB/Simulink Platform Accelerated operation mode
You can imagine that the data of a test case after running reaches nearly 10G Do you ?
A huge amount of data means one word —— slow , And it's super slow .
Now? , This situation is alleviated ,TPT18 Of “MATLAB/Simulink Platform” New options “Simulation Mode”, You can use “Normal”、“Accelerator”、“Rapid Accelerator” and “Software in the loop” Mode run test , It can speed up the test running .
Tip: For a large number of test cases ,TPT Support multi-core mode to accelerate operation .

2) Detect specific system coverage
TPT18 front , If you need to analyze the coverage of a specific sub level , Other sub levels need to be commented out . however , If there is interaction before the sub level , Grounding and other commissioning are required , More complicated . Now? ,TPT18 Get rid of this worry , Because you can directly exclude sub levels that you do not want to detect .


3) Direct import Stateflow Intermediate variable
TPT18 Pre import Stateflow Intermediate variables need to be manually created and set Import Measurements, You also need to add scripts to the test platform .TPT18 Can be clicked directly “offline logging” Import , Convenient and quick .

4) Automatic generation TPT Simulink Function Handler
When... Is used in the model Simulink Function, But test target level Function Caller And Simulink Function Not at the same level , An error will be reported when running the test ( Can't find Simulink Function).
In the face of this situation ,TPT18 Automatically generated in the test framework TPT Simulink Function Handler.

6、 ... and 、 Ways to enrich a given excitation signal (TPT Built in functions )
TPT18 The given mode of excitation signal is added , for example :TPT.impulse()、TPT.step()、TPT.sinwave() etc. , It is more convenient to realize the desired signal .

7、 ... and 、 Batch Runner Interface and function update
When there is more than one TPT The project needs to run , have access to Batch Runner Running at the same time .
stay TPT18 in , Updated interface , The following steps are added :
- TPT API-script
- Execute Tests
- Generate Testframe
- Generate Overview RePort
Support the following platforms to generate test frameworks :
- AUTOSAR
- C/C++
- MATLAB
- [email protected]
- ASCET

8、 ... and 、 ASAM XiL And Vector Related updates
1) Expanded ASAM XiL Support
Added... To the service items ASAM XiL Diag Port, It can be used directly in the test case DTC To operate , as follows :
- Read DTCs
- Clear DTCs
- Read/Write Values
- Execute Services

2) Support import DBC Enumerating type signals in
stay DBC If... Is defined and associated in Value Table,TPT18 Support import .
3) XCP Communication control
Not only can you control before the test case is executed XCP Communications , And it can also be controlled in the test case , Easy to test .

And the limit of the length , We can't introduce them one by one TPT18 Changes , To learn more , Please click here .
Beihui Information Co., Ltd Piketec, Jointly promote the development of software testing . You are welcome to give us your valuable comments , Let software testing become more and more “ convenient ” and “ Simple ”!
author : Beihui information - Single threaded organism
边栏推荐
- 【owt】owt-client-native-p2p-e2e-test vs2017构建 4 : 第三方库的构建及链接p2pmfc.exe
- Golang resource embedding scheme
- Source code encryption of data encryption technology
- 【曾书格激光SLAM笔记】Gmapping基于滤波器的SLAM
- [metauniverse 7ai rope skipping] how is this app light application realized? What are the application scenarios?
- HAProxy的编译安装及全局配置段说明
- R tree of search tree
- How to print array contents
- Form submit onclick and onsubmit
- What is the difference between ArrayList and array?
猜你喜欢
![[Zeng shuge's laser slam notes] gmapping filter based slam](/img/93/b940ad95508d1c0d23642022df37f2.png)
[Zeng shuge's laser slam notes] gmapping filter based slam

Hierarchical attention graph convolution network for interpretable recommendation based on knowledge graph

【机器学习】 吴恩达机器学习作业 ex2逻辑回归 Matlab实现

1-1 introduction to VMWare
![[greed] leetcode991 Broken Calculator](/img/6e/ce552b55899c6e8d3c37f524f99f82.png)
[greed] leetcode991 Broken Calculator

Detailed discussion on modular architecture design of MCU firmware

Encryption related to returnee of national market supervision public service platform

1-1VMware介绍

软件项目管理 8.4.软件项目质量计划

innodb_ruby 视角下 MySQL 记录增删改
随机推荐
Nezha panel modifies logo, small icon and other information
Golang resource embedding scheme
Auto rename when uploading pictures on WordPress media
YouTube security scenarios
[advanced Android] entrusted by kotlin
Detailed discussion on modular architecture design of MCU firmware
[machine learning] wuenda's machine learning assignment ex2 logistic regression matlab implementation
Flink practice tutorial: advanced 7- basic operation and maintenance
mysql 数据恢复 (.ibdata1, bin log)
Decentralized networks are not decentralized
Record an edusrc vulnerability mining
Brief introduction to arm architecture
What is the potential of dmail based on Web3.0? First round financing of $10 million?
Heavyweight review: strategies for reliable fMRI measurements
What is the reason why anonymous live OBS streaming is successful but flv video cannot be played?
Analysis on the development prospect of China's brain computer interface industry in 2021: wide application prospect, sustained and rapid growth of market scale [figure]
What about the high cost of storage system? The original computer room can save so much money!
SwiftUI 组件大全之使用 ScrollView 和 GeometryReader 创建动画 3D卡片 滚动效果
C. Differential Sorting
【二分】leetcode1011. Capacity To Ship Packages Within D Days