期刊文献+
共找到2,999篇文章
< 1 2 150 >
每页显示 20 50 100
Approach of Separately Applying Unit Testing to AspectJ Program
1
作者 顾海波 卢炎生 《Journal of Southwest Jiaotong University(English Edition)》 2008年第3期227-232,共6页
A unit testing approach for AspectJ programs is proposed to separately test aspect units which have their own states. In the approach, aspects under test are converted to classes before execution of unit testing. In t... A unit testing approach for AspectJ programs is proposed to separately test aspect units which have their own states. In the approach, aspects under test are converted to classes before execution of unit testing. In the conversion process, the context information passed through pointcut is transformed into advices, then the advices are converted to class member methods, and conflicts in the conversion result, if any, are resolved finally. The unit testing process consists of generating test cases, executing test cases and checking results. 展开更多
关键词 Aspect-oriented programming AspectJ program unit testing testing approach
在线阅读 下载PDF
Architecture and Methodology of Unit Testing Embedding Pair-Wise Mode for Small Team
2
作者 Mengqing TanLi Ying Zhang Yulin Wang 《Journal of Software Engineering and Applications》 2022年第11期385-405,共21页
In this paper, the new organization for unit testing embedding pair-wise mode is proposed with the core thought focused on the cooperation of programmer and tester by “cross-testing”. The typical content of unit tes... In this paper, the new organization for unit testing embedding pair-wise mode is proposed with the core thought focused on the cooperation of programmer and tester by “cross-testing”. The typical content of unit testing for the new organizing mode should have three aspects, including self-checking, cross-testing and independent-testing. For cross-testing, executing “pair-wise” mode, mainly tackles data testing, function testing and state testing, which function testing must be done by details and state testing must be considered for completeness. With the specializing of independent-testing, it should be taken as more rigid testing without arbitrariness. Consequently, strategy and measure are addressed for data testing focusing on boundary testing and function/state testing. And organizing method of procedure and key points of tackling unit testing are investigated for the new organizing mode. In order to assess the validity of our study and approach, a series of actual examples are demonstrated for GUI software. The result indicates that the execution of unit testing for the new organizing mode is effective and applicable. 展开更多
关键词 unit testing Organizing Architecture Pair-Wise Mode Cross-testing Data testing Function/State testing Boundary testing Small Team
在线阅读 下载PDF
Obsidian: Pattern-Based Unit Test Implementations
3
作者 James Bowring Hunter Hegler 《Journal of Software Engineering and Applications》 2014年第2期94-103,共10页
There exist many automated unit test-generator tools for Java with the primary task of generating test cases, comprised of inputs and a corresponding oracle, each of which is explicitly paired with a specific supporti... There exist many automated unit test-generator tools for Java with the primary task of generating test cases, comprised of inputs and a corresponding oracle, each of which is explicitly paired with a specific supporting test implementation. The authors posit that this explicit pairing, or conflating, of test implementation with test case is unnecessary and counter-productive. The authors address this problem by separating the conflated concerns into two distinct tasks: 1) instantiating test implementations and 2) instantiating test cases. This paper focuses on automating the first task in support of the second with the goal of freeing the test engineer to concentrate on test case instantiation. The authors present a new open-source test-preparation tool Obsidian that produces robust, comprehensive, and maintainable unit test implementations. Obsidian, built on the JUnit framework, uses a set of context patterns and associated algorithms combined with information from the Java Reflection API to generate these unit test implementations from Java byte code. These context patterns guide Obsidian to prepare test implementations that guarantee compilation, support exception handling, enable multiple test cases when required, and provide a suitable location for assertions about the test case outcome(s). Obsidian supports regression testing and test-driven development through its novel audits of the testing process. 展开更多
关键词 unit-testing AUTOMATED testING testING TOOL
暂未订购
Empirical Analysis of Object-Oriented Design Metrics for Predicting Unit Testing Effort of Classes
4
作者 Mourad Badri Fadel Toure 《Journal of Software Engineering and Applications》 2012年第7期513-526,共14页
In this paper, we investigate empirically the relationship between object-oriented design metrics and testability of classes. We address testability from the point of view of unit testing effort. We collected data fro... In this paper, we investigate empirically the relationship between object-oriented design metrics and testability of classes. We address testability from the point of view of unit testing effort. We collected data from three open source Java software systems for which JUnit test cases exist. To capture the testing effort of classes, we used metrics to quantify the corresponding JUnit test cases. Classes were classified, according to the required unit testing effort, in two categories: high and low. In order to evaluate the relationship between object-oriented design metrics and unit testing effort of classes, we used logistic regression methods. We used the univariate logistic regression analysis to evaluate the individual effect of each metric on the unit testing effort of classes. The multivariate logistic regression analysis was used to explore the combined effect of the metrics. The performance of the prediction models was evaluated using Receiver Operating Characteristic analysis. The results indicate that: 1) complexity, size, cohesion and (to some extent) coupling were found significant predictors of the unit testing effort of classes and 2) multivariate regression models based on object-oriented design metrics are able to accurately predict the unit testing effort of classes. 展开更多
关键词 Software testABILITY unit testING testING EFFORT Metrics RELATIONSHIP Prediction and Empirical Analysis
暂未订购
基于技能大赛的JUnit参数化应用实践
5
作者 许华 王敏 +1 位作者 周燕 肖玉 《电子技术与软件工程》 2025年第1期44-48,共5页
单元测试是软件开发过程中确保代码质量的关键环节,它聚焦于软件的独立功能单元,旨在早期发现并修正潜在的错误,从而显著提升软件质量。JUnit是一种开源的Java单元测试框架,JUnit框架的参数化测试在单元测试中得到了广泛应用。本文以全... 单元测试是软件开发过程中确保代码质量的关键环节,它聚焦于软件的独立功能单元,旨在早期发现并修正潜在的错误,从而显著提升软件质量。JUnit是一种开源的Java单元测试框架,JUnit框架的参数化测试在单元测试中得到了广泛应用。本文以全国职业院校技能大赛真实题目为例,深入探讨了JUnit参数化测试的应用,包括JUnit传统测试、参数化测试和文件驱动的参数化测试三种策略。 展开更多
关键词 Junit 单元测试 参数化 技能大赛 文件驱动
在线阅读 下载PDF
LDRA Testbed在动车EBCU软件测试中的应用与研究
6
作者 王贤斌 《现代信息科技》 2025年第1期155-160,共6页
动车制动控制系统是高铁安全运行的重要保障。随着动车系统的复杂性和自动化程度的提高,对制动控制系统的软件测试也提出了更高的要求。文章通过将LDRA Testbed软件自动化测试工具应用于动车EBCU软件,详细介绍了静态分析、单元测试及集... 动车制动控制系统是高铁安全运行的重要保障。随着动车系统的复杂性和自动化程度的提高,对制动控制系统的软件测试也提出了更高的要求。文章通过将LDRA Testbed软件自动化测试工具应用于动车EBCU软件,详细介绍了静态分析、单元测试及集成测试的方法和步骤,并结合实际测试结果分析其有效性和重要性。通过全面的测试手段,不仅提高了EBCU软件的可靠性和安全性,还为动车制动控制系统的维护和优化提供了科学依据。 展开更多
关键词 动车 制动控制系统 testBED 静态分析 单元测试 集成测试
在线阅读 下载PDF
Test Case Prioritization in Unit and Integration Testing:A Shuffled-Frog-Leaping Approach
7
作者 Atulya Gupta Rajendra Prasad Mahapatra 《Computers, Materials & Continua》 SCIE EI 2023年第3期5369-5387,共19页
Both unit and integration testing are incredibly crucial for almost any software application because each of them operates a distinct process to examine the product.Due to resource constraints,when software is subject... Both unit and integration testing are incredibly crucial for almost any software application because each of them operates a distinct process to examine the product.Due to resource constraints,when software is subjected to modifications,the drastic increase in the count of test cases forces the testers to opt for a test optimization strategy.One such strategy is test case prioritization(TCP).Existing works have propounded various methodologies that re-order the system-level test cases intending to boost either the fault detection capabilities or the coverage efficacy at the earliest.Nonetheless,singularity in objective functions and the lack of dissimilitude among the re-ordered test sequences have degraded the cogency of their approaches.Considering such gaps and scenarios when the meteoric and continuous updations in the software make the intensive unit and integration testing process more fragile,this study has introduced a memetics-inspired methodology for TCP.The proposed structure is first embedded with diverse parameters,and then traditional steps of the shuffled-frog-leaping approach(SFLA)are followed to prioritize the test cases at unit and integration levels.On 5 standard test functions,a comparative analysis is conducted between the established algorithms and the proposed approach,where the latter enhances the coverage rate and fault detection of re-ordered test sets.Investigation results related to the mean average percentage of fault detection(APFD)confirmed that the proposed approach exceeds the memetic,basic multi-walk,PSO,and optimized multi-walk by 21.7%,13.99%,12.24%,and 11.51%,respectively. 展开更多
关键词 test case prioritization unit testing shuffled frog leaping approach memetic based optimization algorithm integration testing
在线阅读 下载PDF
Electronic Unit Pump Test Bench Development and Pump Properties Research 被引量:1
8
作者 刘波澜 黄英 +1 位作者 张付军 赵长禄 《Journal of Beijing Institute of Technology》 EI CAS 2006年第4期384-388,共5页
A unit pump test bench is developed on an in-line pump test platform. The bench is composed of pump adapting assembly, fuel supply subsystem, lubricating subsystem and a control unit. A crank angle domain injection co... A unit pump test bench is developed on an in-line pump test platform. The bench is composed of pump adapting assembly, fuel supply subsystem, lubricating subsystem and a control unit. A crank angle domain injection control method is given out and the control accuracy can be 0.1° crank degree. The bench can test both mechanical unit pump and electronic unit pump. A test model-PLD12 electronic unit pump is tested. Full pump delivery map and some influence factors test is done. Experimental results show that the injection quantity is linear with the delivery angle. The quantity change rate is 15% when fuel temperature increases 30 ℃. The delivery quantity per cycle increases 30 mg at 28 V drive voltage. The average delivery difference for two same type pumps is 5 %. Test results show that the bench can be used for unit pump verification. 展开更多
关键词 unit pump test bench control system experimental research
在线阅读 下载PDF
Using Genetic Algorithm as Test Data Generator for Stored PL/SQL Program Units 被引量:1
9
作者 Mohammad A. Alshraideh Basel A. Mahafzah +1 位作者 Hamzeh S. Eyal Salman Imad Salah 《Journal of Software Engineering and Applications》 2013年第2期65-73,共9页
PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored program units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity ... PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored program units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity of the execution of a specific operation behind a name. Also, it acts as an interface between SQL database and DEVELOPER. Therefore, it is important to test these modules that consist of procedures and functions. In this paper, a new genetic algorithm (GA), as search technique, is used in order to find the required test data according to branch criteria to test stored PL/SQL program units. The experimental results show that this was not fully achieved, such that the test target in some branches is not reached and the coverage percentage is 98%. A problem rises when target branch is depending on data retrieved from tables;in this case, GA is not able to generate test cases for this branch. 展开更多
关键词 GENETIC Algorithms SQL Stored PROGRAM unitS test Data Structural testing SQL EXCEPTIONS
暂未订购
Is There Hysteresis in Unemployment in OECD Countries? Evidence From Panel Unit Root Test With Structural Breaks
10
作者 Meliha Ener Feyza Ariea 《Chinese Business Review》 2011年第4期294-304,共11页
This study tests the hysteresis hypothesis of unemployment in fifteen OECD countries by using panel unit root tests which allow for structural breaks. We apply annual unemployment rates covering 1985-2008 periods. We ... This study tests the hysteresis hypothesis of unemployment in fifteen OECD countries by using panel unit root tests which allow for structural breaks. We apply annual unemployment rates covering 1985-2008 periods. We test whether unemployment rates are stationary by using second generation tests which allow cross section dependency among series and panel unit root test based on structural break advanced by Carrion-i-Silvestre, Barrio-Castro and Lopez-Bazo (2005). We find series as a stationary process with structural breaks according to Carrion-i Silvestre et al. (2005) test, while we find series as unit root process with second generation panel unit root test. According to the Carrion-i Silvestre et al. (2005) test, we find the evidence of absence of hysteresis in analyzed countries. As a result, temporary shocks have temporary effects on unemployment instead of permanent effect. Structural factors can affect the natural rate of unemployment and, therefore, unemployment would be stationary around a process that is subject to structural breaks. So, there still exists a unique natural rate of unemployment to which the economy eventually will converge. 展开更多
关键词 structural break UNEMPLOYMENT cross-section dependence panel unit root tests
在线阅读 下载PDF
China First Full-scale ComprehensiveDrilling Test Unit
11
《China Oil & Gas》 CAS 1997年第4期234-234,共1页
关键词 test MPA China First Full-scale ComprehensiveDrilling test unit
在线阅读 下载PDF
Syphils testing in the United States:an historical anachronism
12
《中国输血杂志》 CAS CSCD 2001年第S1期332-,共1页
关键词 Syphils testing in the united States
暂未订购
基于TestBed/TBrun的高效测试执行方法 被引量:1
13
作者 罗睿梅 万东燕 +2 位作者 唐超 辛增献 陈铖 《制导与引信》 2024年第2期25-28,49,共5页
在使用TestBed/TBrun工具执行软件单元测试用例过程中,存在长数组无法自动赋值和结果比对导致测试效率低的问题。针对该问题,提出了一种基于TestBed/TBrun的高效测试执行方法。通过在后台文件中建立可自动识别读取长数组的通用驱动函数... 在使用TestBed/TBrun工具执行软件单元测试用例过程中,存在长数组无法自动赋值和结果比对导致测试效率低的问题。针对该问题,提出了一种基于TestBed/TBrun的高效测试执行方法。通过在后台文件中建立可自动识别读取长数组的通用驱动函数和自动对比测试结果的比对函数,对软件单元中的长数组输入/输出变量进行自动赋值及结果比对。经测试验证,该方法降低了用例执行耗时,提高了测试执行效率。 展开更多
关键词 testBed/TBrun 单元测试 通用驱动函数 比对函数 长数组
在线阅读 下载PDF
人字纹斜槽式水稻育秧播种排种器优化设计与试验 被引量:1
14
作者 刘大为 秦锋 +3 位作者 王志鹏 谢方平 李旭 龚明 《沈阳农业大学学报》 北大核心 2025年第2期99-109,共11页
[目的]针对现有水稻育秧播种排种器作业效率较低、高速作业时存在播种均匀性差导致播种合格指数偏低等问题,难以满足当前南方地区早稻毯状苗常规稻育秧播种的农艺要求,为改善传统机械直槽式排种器在高速作业时用种量较大、排种器的脉动... [目的]针对现有水稻育秧播种排种器作业效率较低、高速作业时存在播种均匀性差导致播种合格指数偏低等问题,难以满足当前南方地区早稻毯状苗常规稻育秧播种的农艺要求,为改善传统机械直槽式排种器在高速作业时用种量较大、排种器的脉动效应导致秧盘内稻种分布不均等问题,研究设计了一种人字纹斜槽式水稻育秧播种排种器。[方法]使用SOLIDWORKS三维软件对该播种装置关键结构进行设计,采用力学分析法对排种器充种充种特性进行研究并分析计算了人字纹斜槽倾角的最优数值。以常规稻湘早籼32为试验材料,确定以播种装置的排种轮转速、秧盘输送速度、种箱开度为试验因素,以播种合格率及空格率为性能评价指标,开展单因素和三因素三水平响应面试验。[结果]各因素对评价指标播种合格率与空格率影响的主次顺序为排种轮转速、种箱开度和秧盘输送速度,获得各因素最优参数组合为:排种轮转速为22.3r∙min^(-1),秧盘输送速度0.37m∙s^(-1),种箱开度29.9mm,该条件下排种器播种合格率94.36%,播种空格率为1.67%。[结论]以湘早籼32、中早35和黄华占3种常规稻作为试验品种,对比改进前后排种器的播种性能,结果表明改进后的人字纹斜槽式排种器满足常规稻毯状苗撒播的技术要求,研究结果可为水稻机械化育秧播种排种器的优化设计提供参考。 展开更多
关键词 农业机械 水稻育秧播种 人字纹斜槽式 性能试验
在线阅读 下载PDF
A note on self-normalized Dickey-Fuller test for unit root in autoregressive time series with GARCH errors 被引量:1
15
作者 YANG Xiao-rong ZHANG Li-xin 《Applied Mathematics(A Journal of Chinese Universities)》 SCIE CSCD 2008年第2期197-201,共5页
In this article, the unit root test for AR(p) model with GARCH errors is considered. The Dickey-Fuller test statistics are rewritten in the form of self-normalized sums, and the asymptotic distribution of the test s... In this article, the unit root test for AR(p) model with GARCH errors is considered. The Dickey-Fuller test statistics are rewritten in the form of self-normalized sums, and the asymptotic distribution of the test statistics is derived under the weak conditions. 展开更多
关键词 unit root AR (p)-GARCH (1 1) SELF-NORMALIZED Dickey-Fuller test statistic.
在线阅读 下载PDF
2015—2022年某院耐碳青霉烯类肺炎克雷伯菌分布及耐药性变迁 被引量:2
16
作者 伊怀文 梁志强 +2 位作者 江玉凤 李仁哲 李晓军 《医学动物防制》 2025年第3期309-312,F0003,共5页
目的了解耐碳青霉烯类肺炎克雷伯菌的分布情况及其耐药性,为预防、控制和治疗相关感染提供科学依据。方法使用微生物统计软件Whonet 5.6分析2015年1月—2022年12月某院微生物实验室分离出的耐碳青霉烯类肺炎克雷伯菌患者信息、科室分布... 目的了解耐碳青霉烯类肺炎克雷伯菌的分布情况及其耐药性,为预防、控制和治疗相关感染提供科学依据。方法使用微生物统计软件Whonet 5.6分析2015年1月—2022年12月某院微生物实验室分离出的耐碳青霉烯类肺炎克雷伯菌患者信息、科室分布、标本种类和药敏试验,使用SPSS 22.0软件进行统计学分析。结果共检出耐碳青霉烯类肺炎克雷伯菌380株,检出率呈逐年波动上升;男性患者(75.26%,286/380)多于女性(24.74%,94/380),多数患者年龄大于45岁(86.58%,329/380)。科室分布,重症监护病房(intensive care unit,ICU)耐碳青霉烯类肺炎克雷伯菌检出最多(76.84%,292/380),不同年份该菌的检出率整体呈上升趋势(χ_(趋势)^(2)=44.151,P<0.001);标本分布,呼吸道标本检出耐碳青霉烯类肺炎克雷伯菌最多(56.58%,215/380);耐碳青霉烯类肺炎克雷伯菌对常见抗菌药物呈现出广泛耐药性,仅多黏菌素和替加环素耐药率较低。结论耐碳青霉烯类肺炎克雷伯菌在ICU患者中检出率高,细菌耐药率高,应制定合理防控措施,避免耐药菌株的产生和传播。 展开更多
关键词 碳青霉烯 肺炎克雷伯菌 重症监护病房 革兰阴性杆菌 药敏试验
原文传递
基于大语言模型的C程序单元测试方法 被引量:1
17
作者 李博诺 王博 +4 位作者 陈明达 林友芳 江云松 陈睿 李鹏宇 《空间控制技术与应用》 北大核心 2025年第1期115-122,共8页
单元测试用于检验软件单一模块的功能是否正确,是软件开发过程中的重要步骤,可以及时发现代码中的缺陷,提升软件的质量和可信度.由于手动编写单元测试费时费力,经常遗漏覆盖重要的代码逻辑.为此,研究者提出单元测试用例自动生成技术.近... 单元测试用于检验软件单一模块的功能是否正确,是软件开发过程中的重要步骤,可以及时发现代码中的缺陷,提升软件的质量和可信度.由于手动编写单元测试费时费力,经常遗漏覆盖重要的代码逻辑.为此,研究者提出单元测试用例自动生成技术.近来,预训练大语言模型(large language models,LLM)已经广泛应用于代码生成相关任务.然而,当前在重要的系统级编程语言C上,还没有相关工作.为了填补这一空白,本文面向C程序设计并实现了基于LLM的单元测试用例生成方法LLM4CUTCG.该方法结合LLM多智能体交互和程序分析技术,客服了LLM内在问题.为了验证方法效果,收集了125个C语言目标程序,并针对这些程序生成测试用例.实验结果表明,LLM4CUTCG生成的测试行覆盖率为91.71%,测试预言正确率为50.05%.其覆盖率优于传统方法符号执行. 展开更多
关键词 软件测试 单元测试 测试自动生成 代码自动生成 大语言模型 测试预言
在线阅读 下载PDF
用于驾驶行为分析的驾驶员情绪识别算法
18
作者 赵华 范鸿钢 +3 位作者 冯译方 陈大昕 刘志喜 陈韬 《天津大学学报(自然科学与工程技术版)》 北大核心 2025年第6期619-628,共10页
驾驶员的情绪变化会直接影响其驾驶行为.目前对于驾驶员行为预测的研究依然采用统计分析的方式,无法反映情绪状态对驾驶员行为的影响,导致对驾驶员动力需求的预判存在信息偏差.为此,针对实际驾驶过程中的驾驶员情绪状态判断,提出了满足... 驾驶员的情绪变化会直接影响其驾驶行为.目前对于驾驶员行为预测的研究依然采用统计分析的方式,无法反映情绪状态对驾驶员行为的影响,导致对驾驶员动力需求的预判存在信息偏差.为此,针对实际驾驶过程中的驾驶员情绪状态判断,提出了满足实车应用的驾驶员情绪识别算法,同时设计试验研究了不同情绪间驾驶行为的特征差异.首先,针对车载计算单元相对不足的问题,结合人脸动作单元和面部表情编码系统,简化了高兴和愤怒两种表情的面部关键点,进而降低特征维度.然后,使用支持向量机分别建立了两种情绪的识别模型,通过网格搜索算法优化了模型参数,提升离线识别准确率.最后,结合情绪诱导设计了实车道路试验,基于通用计算平台测试了模型的在线识别效果,同时对比了驾驶员在高兴和愤怒时的驾驶行为以及车辆运行差异.结果表明:利用简化特征建立的高兴和愤怒识别模型,数据集离线测试的准确率分别达到了84.45%和84.43%;通用计算平台的测试结果显示该算法满足车载实时应用的需求,与情绪诱导结果对应,能够在线识别驾驶员的情绪状态;与高兴情绪相比,驾驶员在愤怒情绪下的驾驶行为更加激进,加速踏板的操作从长期维持不变转为周期性的剧烈踩踏,踏板频谱幅值最大提高了165.1%,整车油耗最大增加了14.2%. 展开更多
关键词 驾驶员情绪识别 人脸动作单元 支持向量机 道路试验 驾驶行为分析
在线阅读 下载PDF
面向特定应用的可配置CPU性能分析方法
19
作者 邓全 林荣臻 +2 位作者 罗莉 鲁建壮 王永文 《计算机工程与科学》 北大核心 2025年第11期1901-1911,共11页
随着集成电路的发展和芯片应用的不断拓展,可配置CPU为芯片设计空间的探索提供了便利。可配置CPU不仅能满足敏捷设计的需求,还能兼顾用户根据目标应用进行调优的需求。然而,目前面向特定应用的可配置CPU的性能调优仍主要依赖于资深体系... 随着集成电路的发展和芯片应用的不断拓展,可配置CPU为芯片设计空间的探索提供了便利。可配置CPU不仅能满足敏捷设计的需求,还能兼顾用户根据目标应用进行调优的需求。然而,目前面向特定应用的可配置CPU的性能调优仍主要依赖于资深体系结构工程师,缺乏一套科学方法进行指导,因此,提出了一种面向特定应用的可配置CPU性能分析方法。在软件层面,利用Perf工具快速定位应用程序在硬件执行时的热点代码块;在硬件层面,通过分析框架的2种计数模式(时钟周期计数与slots计数),锁定各个执行部件的热点执行情况,以便设计人员快速定位硬件执行的热点行为。对支持RISCV指令集的可配置DMR架构在流体力学典型程序NPB上进行了敏捷设计。实验结果表明,迭代后可配置CPU单核性能提升了13.2%,面积开销增加了12.2%。 展开更多
关键词 性能分析 可配置CPU PMU NPB 测试
在线阅读 下载PDF
上一页 1 2 150 下一页 到第
使用帮助 返回顶部