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

"silent" accurate testing allows enterprises to upgrade and dock black box testing at zero cost.

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Introduction: precision testing is the latest testing technology in the software testing field, and its efficiency and accuracy are praised by users, but if the company already has some development and test management systems, how to maximize and reduce learning costs? quietly upgrade and transform the "precision testing" technology? Taking the Jira system as an example, this paper gives a detailed and credible technical solution.

Precision testing is a dark horse of system-level testing at present, it is easier to use than white-box testing, but it is more powerful, and ordinary black-box testing engineers can easily master it. In addition, while using it, because of the meticulous and integrity of test data collection, it also brings users a valuable strategic resource-testing big data. Therefore, many enterprises attach great importance to the upgrading of accurate testing to their own software system testing technology.

The core technical key of accurate testing is that there is a strong correspondence and traceability relationship between use cases and related execution code. This strong traceability relationship is established by accurately testing the "software oscilloscope" on the exclusive client, manually clicking the start and end buttons to mark the execution of the test case, and then determining the boundary of the corresponding code execution path.

However, at present, many companies have developed test management systems or general products such as JIRA to manage and execute use cases. If accurate test clients are used simultaneously, there is a suspicion of repetition of instructions. As a result, nebula precision testing has made a far-reaching customization improvement-"silent" precision testing. It can smoothly realize the behind-the-scenes docking scheme between the JIRA system and accurate testing: the use case execution instructions in JIRA are transferred directly from the background to the precision system, and the test engineers do not have to change any daily work behavior. This landmark improvement method makes almost all rely on manual, data invisible black box testing, breaking through the ceiling has become a powerful grasp with a high degree of visualization of system quality analysis. It has achieved the great goal of completely improving the overall efficiency of black box testing "unwittingly".

The innovation of "silent" accurate testing enables the system to intelligently obtain the basic data of accurate testing and complete the traceability relationship between test cases and code coverage. The following is an architecture diagram of the accurate test (nebula testing www.teststars.cc 's ThreadingTest product line) interfacing with the JIRA system:

Now, we will further analyze and elaborate on the technical principle of "silent" accurate testing:

Because the front end of JIRA is developed based on velocity template technology, and it is constantly upgrading and iterating, in order to avoid interference to the running system of JIRA itself, we adopt the technical scheme to replace the VM template, that is, send the use case execution data to the Nebula TT system through the JIRA front-end page. The connection adopts asynchronous mode, and the operation of JIRA itself is not affected when the TT background service link is not turned on, and the accurate testing goal of high reliability, silence and zero interference is fully achieved.

Step 1: the custom code on the JIRA side passes the currently executed test case name, user name, and project name to a docking transfer platform, which converts data into TTFront-recognizable commands to TTFront,TTFront after receiving the command, it will get the IP address of the client to which the corresponding user is logged in according to the user information in the command (after the user logs in the Nebula TT system, the IP will be automatically recorded on the Tfront side).

Step 2: distribute the corresponding commands to the corresponding users, organize them into TTC command structure (which belongs to the client automation instruction set of TT precision testing), and trigger the client to directly perform relevant operations (including the automatic creation of use cases), such as clicking on the start of the use case. When the use case is opened, the manual operation flow of the original accurate testing can be realized automatically.

Because the version of the program and the version generated by the nebula precision test need to have a corresponding relationship, in the past, the client was manually selected by the tester, and in silent mode, the version was loaded automatically through the setting of the active version. The use case will be automatically created in the nebula TT system without the need for secondary actions such as import and synchronization.

The steps of docking Jira with nebula precision test are shown:

1) the status of the unstarted test interface: the abbreviation of the software oscilloscope tested by the nebula will be displayed on the interface, and the real-time acquisition coverage value of the oscilloscope is 0 before the use case is opened and executed.

2) start the use case and finish the data: after starting to execute the use case, through the docking between JIRA and TT system, the TT system automatically creates the use case and is in the state of waiting for data to be received. When the user selects the use case to be executed in the JIRA system, and when the use case is actually executed by the tested system, the oscilloscope floating window installed on the client will begin to display and collect the coverage of the corresponding use case. The floating window is displayed at the front of the tester's desktop by default, and the translucent mode does not obscure the application under test.

3) Oscilloscope data reception display: open the Nebula software oscilloscope window, you can see that the oscilloscope received data waveform has been created, all the information of the currently selected test case has been received clearly and completely.

From this, it can be seen that users can realize the silent recording, transmission and analysis of accurate test data without any operation on the "nebula client". The release of nebula testing "silent precision testing" technology has laid a solid foundation for enterprise-level precision testing technology transformation and capability improvement in various fields.

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