Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the integrated testing tool Tessy

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

How to understand the integration test tool Tessy, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this can learn, I hope you can gain something.

Tessy is a tool for unit and integration testing of C/C++ code for embedded software that automates the execution of tests, evaluation of test results, and generation of test reports. Tessy's goal is to support unit/integration testing for C perfectly by automating the entire test cycle, while also focusing on test organization and test management.

Tessy software originated from Daimler-Benz Software Technology Lab, widely used in Daimler-Benz, and became a professional software testing tool company Razorcat after 1997. Hitex is responsible for global sales and technical support services. As Hitex/Razorcat's partner in China, Beijing Jingwei Hengrun Technology will provide Tessy software and excellent software testing services to Chinese automotive customers.

product introduction

In the V-model development pattern, Tessy is mainly used for unit/module testing and integration/component testing. Unit testing is the first dynamic test activity in the V model development pattern. Function-level testing effectively detects each type of error, such as algorithmic errors, boundary control errors, data overflows, etc. With unit testing, bugs can be caught as early as possible, preventing them from being discovered until later in the testing process or until the end user. The earlier bugs are discovered, the better, throughout the project development test cycle. It has been proven that detailed and standardized unit testing can effectively reduce system testing and regression testing time and reduce development costs.

In addition, Tessy can also meet the testing requirements of various standards (ISO26262, IEC 61508, EN 50128/50129, DO-178B, automotive SPiCE or FDA General Principles for Software Verification). For example, the requirements for module testing in each test level in ISO26262 can be met by Tessy. Of course, Tessy itself has passed Tuev certification and can be used in the development process of safety-related software.

main function

·Automatic test environment generation

Tessy can automatically generate test environment drivers, choose automatic or manual piling and automatically generate test case templates to help customers improve test case design efficiency.

·Multiple test case determination methods

In addition to manually entering test cases in a simple interface, it also supports importing test data from Excel and writing test cases through a script editor. In addition, Tessy integrates CTE software, which divides the equivalence class of each interface according to the classification tree method, generates test cases semi-automatically, reduces redundancy of test cases and improves test efficiency.

case design

Use Case Script Editor

CTE classification tree design

·Support all phases of dynamic testing

Tessy can support all phases of the dynamic test process from unit testing to system testing, checking the functional integrity of each function through unit testing, functional verification of individual sub-modules through integration testing and inter-module interface testing, and system functional verification through integration with target boards.

In addition, Tessy can automatically identify the interface changes of the tested object, prompting us to update the test cases; during version iteration, the test cases and test data can be reused, saving a lot of work and time required for regression testing. Under the condition that the interface remains unchanged, Tessy can completely automatically execute regression testing without user intervention.

·Fully automated test execution and evaluation

Tessy examines the source files and analyzes the program code to determine the functions and their interfaces, which will be stored in a specific database for retrieval at any time. The separation of interface information and test data enables a clear division between structure and data. On the one hand, the testing of interfaces makes it possible to show changes first, and on the other hand, if changes occur, usually only a few elements of the function interface to be tested will change. Handling interface changes in Tessy is fairly straightforward;

·Test report generation

Manage test data and document test results, Tessy provides input parameters/execution test and evaluation results and report documents, Tessy can generate various types of test reports, including detailed reports, overview reports, and coverage reports.

:: Coverage statistics

Tessy provides C0 coverage, i.e. statement coverage;C1 coverage, i.e. branch coverage or decision coverage ; conditional coverage, i.e. MCC( Multiple Condition Coverage) and MC/DC (Modified Condition/Decision Coverage). Tessy is a method for obtaining test coverage information through test applications.

For integration testing, Tessy also provides Call pair coverage and function coverage.

·Test workload assessment and tracking

Based on the number of statements, calls, and nesting depth in the function, Tessy can estimate the workload of the test and display it in time. The actual test completion time can be tracked and easily managed in the test project view.

·Fault injection test

Fault injection enables test case inputs that traditional methods cannot, such as jumping out of infinite loops, write-before-read functionality, and defensive programming tests. Dedicated test code can be injected at selected branch locations so that decision results can be manipulated. This ensures correct operation and normal test cases without side effects caused by fault injection.

·Support for various development environments

Tessy can now support more than 130 microcontroller, compiler, and debugger combinations; this ensures that Tessy can handle non-standard C (ANSI-C) microcontroller specific code generated by cross-compilers; once Tessy is integrated with different development environments, test cases can be run on real chips.

Support for ASAP2

Select integration functions with ASAP2 standard before designing test cases in Tessy, determine ASAP2 files to import, automatically convert physical values of test data designed in test cases to integer values of test objects executed in target boards using ASAP2 conversion rules, thus simplifying understanding and implementation of test case design, and other ASAP2 information such as units, max/min values, etc. can be displayed in Tessy.

·Insertion requirements

All testing activities are based on functional specifications and requirements changes. Support requirement insertion, automatically change the requirement version along with the change of requirements, and realize requirement traceability. The progress of the test work can be grasped macroscopically by inserting requirements.

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report