Test Method and Test Tool Solution (2)

zhaozj2021-02-08  384

Test Method and Test Tool Solution (2) Pacific Software (China) Co., Ltd.

(This article is reproduced from Software Engineering Expert Network

Www.21cmm.com)

Third, the related tools are critical after we understand the contents involved in the test, and the corresponding automated test tools are critical. Automated test tools means that it is difficult to participate in a large part of the test in the test activity; at the same time, some test activities are difficult to achieve by manual way, difficult to measure. When we make cost-effective analysis on automated test tools, we should take into account the expected time and artificial consumption of the project. Some tests can be made by several people to do, and the automation test is used. Tools may take only a few hours or a few minutes; it is difficult and unrealistic if the Load test based on Client-Server or a web system is done. Therefore, it is necessary to choose an automated test tool in the test activity. Let's take a brief introduction to the corresponding tools. 1. Embedded Software Test Tools --Logiscope Logiscope is a set of embedded software test tools. It runs through software development, code review, unit / integrated test, system test, and software maintenance phase. It works for the source code. Logiscope For coding, testing and maintenance. Therefore, the focus of Logiscope is to help code reviews and dynamic override tests. Logiscope analyzes software, adopts quality models based on internationally used metrics (Halstead, McCabe, etc.), as well as programming rules set from multiple companies, can be covered from software programming rules, static features, and dynamic testing. Aspect, quantifier define quality models, and check, evaluate software quality. Logiscope is in the development phase, finds a potential error. At the code review phase, logiscope positions those program modules with 80% of errors. By positioning that is not subject to the test code, the Logiscope helps find the defect hidden in the untested code. Project leaders and quality engineers use Logiscop to periodically check the quality of the entire software. In various stages, use Logiscope, improve software engineering practice, and training programmers' written code and test activities to ensure that the system is easy to maintain and reduced risks. When there is a contractual relationship, the contract party can use Logiscope to clearly define the quality level and execution test at the time of acceptance. The undertaking party can use Logiscope to demonstrate the quality of its software. Logiscope Gets the "Quality Characteristics" defined by ISO / IEC9126; logiscope provides the ISO-9001 to provide requirements for the developers to developers with Software quality tracking required by SEI / CMM on Lection 2 (REPEATABLE). The requirements for key practice, the promotion of development organizations reach the level 3 of SEI / SMM as soon as possible. 1) logiscope For development phase definition quality model ruleChecker predefined 50 programming rules: name conventions (such as lowercase cases, etc.); indicate conventions (such as: one instruction per line); restriction (such as: Can't use GOTO) The statement cannot modify the counter in the cyclic body, etc.). Users can choose from these rules or to define new rules with TCL, scripts, and programming languages. In addition, 50 programming rules for safe-critical systems are also available. The Audit is based on the basis of the quality evaluation model in the ISO9126 model.

Quality evaluation model describes the quality factors (maintainability, reusability, etc.) and quality criteria (tested, readability, etc.) from Halstend, McCabe's metrics and Verilog introduced. Project leadership or quality management personnel can choose and adopt quality model applicable to project demand according to the standards, contractual needs of application software. Verify, review and improve the code rulechecker verify the source code with the selected rule. It is pointed out that the code does not meet the programming rule and propose interpretation and suggestions for improving source code. RULRCHECKER directly accesses the source code through the text editor and points out where you need to correct. Audit will compare the software evaluated with the predetermined quality model, display the level of software quality in the form of a graphic, so the quality personnel can concentrate the energy to the code that needs to be modified. An interpretation of the metric and quality model is inconsistent and regained. 2) Logiscope is used to test the test phase definition test guidelines logiscope Recommended override test of the instruction (IB), logic path (DDP), and calling path (PPP). In addition, the security-key software also provides an overlay test of MC / DC. Test Validity TestChecker produces test overlay information and accumulation information for each test. Use the histogram to display the coverage ratio and change the online changes in real time according to the test operation. Show new tests reflected in the new test. TestChecker allows all test runs to manage according to its validity. Users can reduce those tests for non-regression tests. The optimization of the test is the first step in the test phase, and the test is performed is a functional (black box) test. Its purpose is to check if the desired function is implemented. In the early stage of the test, the coverage will increase rapidly. Same sample testing can generally reach a 70% coverage. However, it is very difficult to improve this ratio. Mainly due to the test case covers the same test path. At this time, there is a need to make some changes to the test strategy. Perform a structured (white box) test, that is, to detect the logical path that has not been performed, define the new test case overwritten these paths. During the test period, when the test policy changes, the comprehensive use of TestChecker detects key factors to increase efficiency. Use TestChecker with Audit to help users analyze unspecified code. The user can display the code that is concerned and the information related to the observation of the unclociated path. Information is submitted in the form of graphics (control flow graph) and text (pseudo code and source files) and established navigation associations therebetween. The TestChecker management system declares a new test, generates a document, defines the start command, and the method of automatically executing. 3) Logiscope is used to maintain a wide range of realization of the maintenance expenses and development costs of the application system. Experience has shown that 50% of software maintenance time is in understanding structures, logic, and operational understanding. Logiscope can greatly reduce the time required to understand unknown systems. AUDIT visualizes the framework of the application in the form of file form (relationship between component files) and the form of call maps (function and process between functions). The logical structure of the function is displayed in the form of a flow chart. A node is selected on the control flow map to obtain a corresponding code. The application system can be analyzed, different hierarchical navigation, to promote the overall understanding on different abstraction layers. 4) Support for multiple test methods to support logiscope in the embedded area. In particular, support for embedded domain software. It is well known that the test of embedded system software is most difficult. Because it is developed in cross-compilation. On the target machine (Target), it is impossible to have excess space records.

转载请注明原文地址:https://www.9cbs.com/read-543.html

New Post(0)