代码测试方法、装置、计算机设备和存储介质
By instrumenting the source code to be tested and deploying random exception injection test scenarios, the problem of high difficulty in testing high-performance business programs is solved, and efficient test verification is achieved.
CN116467158BActive Publication Date: 2026-07-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-01-12
- Publication Date
- 2026-07-17
AI Technical Summary
Technical Problem
With the introduction of high-performance computer services, the complexity of business program architecture has increased, leading to increased difficulty in testing and verification and lower testing efficiency.
Method used
By weaving instrumentation into the source code to be tested, an instrumented executable file is generated and deployed in a preset multi-container test environment. Random exception injection test scenario data is injected to obtain test results.
Benefits of technology
It enables efficient and reliable testing of the source code under abnormal conditions, improving testing efficiency and accuracy.
✦ Generated by Eureka AI based on patent content.
Smart Images

Figure CN116467158B_ABST
Abstract
本申请涉及一种代码测试方法、装置、计算机设备、存储介质和计算机程序产品,通过对待测试源代码的织入插桩来构建插桩版可执行文件,并将插桩版可执行文件部署于各个容器测试环境,同时获取待测试源代码对应的多个异常注入测试场景,而后将这些异常注入测试场景分别注入所述各个容器测试环境,从而对待测试源代码进行并联的测试验证,可以有效对待测试源代码在面对异常情况时的可靠性进行高效率测试。
Need to check novelty before this filing date? Find Prior Art