当前位置:网站首页>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
边栏推荐
- d重载嵌套函数
- Engineer culture: should the company buy genuine software
- Analysis on the development of China's graphene industry chain in 2021: with the support of energy conservation and environmental protection policies, the scale of graphene industry will continue to e
- How to save the model obtained from sklearn training? Just read this one
- What are the advantages of the completely free and open source flutter? How to learn about flutter?
- Get method of fetch request and data of formdata type submitted by post
- How to store easydss version 3.0 video files in other free disks?
- 直接插入排序
- Preliminary sequencing problem
- 【LeetCode】179. Maximum number
猜你喜欢
![Analysis on the development status of China's watch industry in 2021: a large number of electric watches are imported [figure]](/img/ca/672bfe49c8123da8679b2abeb43a2e.jpg)
Analysis on the development status of China's watch industry in 2021: a large number of electric watches are imported [figure]
![[OWT] OWT client native P2P E2E test vs2017 build 2: test unit construction and operation](/img/b0/4ea8069a88ce19ca7dbfa67ac9fcba.png)
[OWT] OWT client native P2P E2E test vs2017 build 2: test unit construction and operation

【二分】leetcode1011. Capacity To Ship Packages Within D Days

Talk about memory model and memory order

直接插入排序
![[quick view] Analysis on the development status and future development trend of the global and Chinese diamond cultivation industry in 2021 [figure]](/img/f1/972a760459a6d599b5681aa634df09.jpg)
[quick view] Analysis on the development status and future development trend of the global and Chinese diamond cultivation industry in 2021 [figure]

HAProxy的编译安装及全局配置段说明

第一批00后下场求职:不要误读他们的“不一样”

Fetch request details
![Analysis of the number of urban residents covered by basic medical insurance, their treatment and medical treatment in other places in China in 2021 [figure]](/img/81/4d3cb059f700dd9243645e64023be7.jpg)
Analysis of the number of urban residents covered by basic medical insurance, their treatment and medical treatment in other places in China in 2021 [figure]
随机推荐
One of the touchdesigner uses - Download and install
新版kali切换最高账户
直接插入排序
选择排序法
Analysis of the number of urban residents covered by basic medical insurance, their treatment and medical treatment in other places in China in 2021 [figure]
Get method of fetch request and data of formdata type submitted by post
Apicloud native module, H5 module and multi terminal component tutorial
For patch rollback, please check the cbpersistent log
【机器学习】 吴恩达机器学习作业 ex2逻辑回归 Matlab实现
R tree of search tree
Nature: correlation between oscillatory signals and gene expression supporting human episodic memory coding
Analysis on the development of China's satellite navigation industry chain in 2021: satellite navigation is fully integrated into production and life, and the satellite navigation industry is also boo
Analysis on the development of China's graphene industry chain in 2021: with the support of energy conservation and environmental protection policies, the scale of graphene industry will continue to e
Generate PDF417 code in batch through TXT file
Auto rename when uploading pictures on WordPress media
mysql 数据恢复 (.ibdata1, bin log)
TRTC zero foundation -- Video subscription on the code
Jmeter- (V) simulated user concurrent login for interface test
New configuration of Alipay
Decentralized networks are not decentralized