期刊文献+
共找到1,692篇文章
< 1 2 … 85 >
每页显示 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
Electronic Unit Pump Test Bench Development and Pump Properties Research 被引量:2
2
作者 刘波澜 黄英 +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
China First Full-scale ComprehensiveDrilling Test Unit
3
《China Oil & Gas》 EI CAS 1997年第4期234-234,共1页
关键词 test MPa China First Full-scale ComprehensiveDrilling test unit
下载PDF
Is There Hysteresis in Unemployment in OECD Countries? Evidence From Panel Unit Root Test With Structural Breaks
4
作者 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
A novel approach of testability modeling and analysis for PHM systems based on failure evolution mechanism 被引量:18
5
作者 Tan Xiaodong Qiu Jing +3 位作者 Liu Guanjun Lv Kehong Yang Shuming Wang Chao 《Chinese Journal of Aeronautics》 SCIE EI CAS CSCD 2013年第3期766-776,共11页
Prognostics and health management (PHM) significantly improves system availability and reliability, and reduces the cost of system operations. Design for testability (DFT) developed concurrently with system design... Prognostics and health management (PHM) significantly improves system availability and reliability, and reduces the cost of system operations. Design for testability (DFT) developed concurrently with system design is an important way to improve PHM capability. Testability modeling and analysis are the foundation of DFT. This paper proposes a novel approach of testability modeling and analysis based on failure evolution mechanisms. At the component level, the fault progression-related information of each unit under test (UUT) in a system is obtained by means of failure modes, evolution mechanisms, effects and criticality analysis (FMEMECA), and then the failure-symptom dependency can be generated. At the system level, the dynamic attributes of UUTs are assigned by using the bond graph methodology, and then the symptom-test dependency can be obtained by means of the functional flow method. Based on the failure-symptom and symptom-test dependencies, testability analysis for PHM systems can be realized. A shunt motor is used to verify the application of the approach proposed in this paper. Experimental results show that this approach is able to be applied to testability modeling and analysis for PHM systems very well, and the analysis results can provide a guide for engineers to design for testability in order to improve PHM performance. 展开更多
关键词 Design for testability Failure evolution mechanism Failure-symptom dependency Prognostics and health management Symptom-test dependency testability modeling and analysis unit under test
下载PDF
基于CppUnit的虚拟试验单元测试研究 被引量:2
6
作者 贾长伟 廖建 +2 位作者 焉宁 张丽晔 赵雯 《计算机测量与控制》 2015年第4期1155-1157,1160,共3页
虚拟试验是通过大量平台软件验证实物试验的可行性,达到"以实验虚以虚辅实以虚预实"的目的;这对平台软件的稳健性具有较高的要求,软件测试是提高软件产品质量的重要手段,而其中的单元测试是对软件模块的功能测试;CppUnit主要... 虚拟试验是通过大量平台软件验证实物试验的可行性,达到"以实验虚以虚辅实以虚预实"的目的;这对平台软件的稳健性具有较高的要求,软件测试是提高软件产品质量的重要手段,而其中的单元测试是对软件模块的功能测试;CppUnit主要用于实现对软件的单元测试,基于CppUnit提出了一种应用于虚拟试验平台软件的单元测试方法,实现了对平台软件功能的单元测试,平台使用者在软件开发阶段不仅能较好地验证软件的稳健性,而且能提高虚拟试验验证的效率,为实物试验提供参考依据。 展开更多
关键词 虚拟试验 软件测试 单元测试 稳健性
下载PDF
JUnit在单元测试中的应用 被引量:8
7
作者 贾美丽 康珺 《计算机与现代化》 2013年第8期116-118,共3页
单元测试在软件开发过程中起着非常重要的作用。JUnit是一个用于Java单元测试的开放源代码的测试框架,本文通过具体案例,介绍应用JUnit进行自动化测试的方法。
关键词 单元测试 Junit 自动化测试
下载PDF
JUCC:一种基于JUnit框架展示代码覆盖的交互式测试工具 被引量:1
8
作者 孙小兵 张允 陶传奇 《小型微型计算机系统》 CSCD 北大核心 2014年第4期807-810,共4页
当前测试驱动的开发模式已成为软件开发的主要模式之一,而JUnit是测试开发领域中常用的一种测试框架.基于JUnit的各种测试技术和方法经常出现在各种软件测试研究与实践中.本文基于JUnit框架,提出一种添加代码覆盖展示的新型交互式测试工... 当前测试驱动的开发模式已成为软件开发的主要模式之一,而JUnit是测试开发领域中常用的一种测试框架.基于JUnit的各种测试技术和方法经常出现在各种软件测试研究与实践中.本文基于JUnit框架,提出一种添加代码覆盖展示的新型交互式测试工具JUCC.JUCC在JUnit测试结束后根据测试过程中记录的信息,图形化地显示测试代码的覆盖率,这样,测试人员可根据代码覆盖情况针对没有被覆盖的代码再次进行测试用例的编写,迭代地进行测试,直到达到满意的测试效果. 展开更多
关键词 Junit 单元测试 代码覆盖 图形化显示
下载PDF
Prognostic value of cortisol and thyroid function tests in poisoned patients admitted to toxicology ICU 被引量:6
9
作者 Shahin Shadnia Nasim Zamani +3 位作者 Hossein Hassanian-Moghaddam Hamed Shafaroodi Mina Padandar Mohammad Hasan Rezaeizadeh 《World Journal of Emergency Medicine》 SCIE CAS 2018年第1期51-55,共5页
BACKGROUND: Prognostic value of cortisol and thyroid function tests(TFTs) has previously been evaluated in medical ICUs. We aimed to evaluate prognostic efficacy of cortisol and TFTs in critically ill poisoned patient... BACKGROUND: Prognostic value of cortisol and thyroid function tests(TFTs) has previously been evaluated in medical ICUs. We aimed to evaluate prognostic efficacy of cortisol and TFTs in critically ill poisoned patients admitted to toxicology intensive care unit(ICU).METHODS: In a prospective study of consecutively enrolled subjects admitted to the toxicology ICU, lab analyses included TFTs(total T3 and T4 as well as TSH) and cortisol levels drawn between 8 am–10 am during period of the first 24 hours post-ingestion/exposure. Simplified Acute Physiology Score Ⅱ(SAPS Ⅱ) and Acute Physiology and Chronic Health Evaluation Ⅱ(APACHE Ⅱ) were recorded. All scores were compared to detect the best prognostic factor. Type of poisoning was also included.RESULTS: In 200 patients evaluated, 129 were male and mean age was 31 years. In general, SAPS Ⅱ, T4, and cortisol could prognosticate death. After regression analysis, only cortisol had such efficacy(P=0.04; OR=1.06; 95%CI=1.05–1.08; cut-off=42 μg/d L; sensitivity=70%; specificity=82%). Between aluminium phosphide(ALP)-and non ALP-poisoned patients, level of consciousness, mean arterial pressure, and cortisol level could prognosticate death in ALP poisoning(all Ps<0.001 in both uni and multivariate analyses). Median(interquartile range; IQR) GCS was 7(6, 10) and 15(8, 15) in non-ALP and ALP-poisoned patients(P<0.003). SAPS Ⅱ and APACHE Ⅱ could not prognosticate death at all.CONCLUSION: Cortisol best prognosticated outcomes for subjects admitted to the toxicology ICU. Its level is higher in ALP-poisoned patients probably due to the higher stress while they remain conscious till the final stages of toxicity and are aware of deterioration of their clinical condition or may be due to their significantly lower blood pressures. 展开更多
关键词 Prognosis Intensive care unit Cortisol Thyroid function tests Poisoning
下载PDF
PHP Unit自动化单元测试技术研究 被引量:2
10
作者 王莉军 《电子设计工程》 2012年第23期19-22,共4页
优秀的程序员与普通的程序员之间的区别在于:优秀的程序员会尽可能用测试检测自己的代码,越早测试程序中的问题,发现它的机会越大,花费去寻找和修正的时间就会越少。这就说明在软件发布之前如果缺少有效的测试,软件的问题会很多。使用PH... 优秀的程序员与普通的程序员之间的区别在于:优秀的程序员会尽可能用测试检测自己的代码,越早测试程序中的问题,发现它的机会越大,花费去寻找和修正的时间就会越少。这就说明在软件发布之前如果缺少有效的测试,软件的问题会很多。使用PHPUnit进行测试,会检测代码是不是按期望的执行,执行的自动测试软件代码的每一部分是不是正确。这些可执行代码的片段称为单元测试。 展开更多
关键词 PHPunit 自动化 单元测试
下载PDF
单元测试工具JUnit框架浅析 被引量:2
11
作者 王焱 吴青林 《郧阳师范高等专科学校学报》 2010年第6期57-59,共3页
JUnit是非常经典的单元测试框架,值得Java爱好者认真学习和研究.通过对JUnit文件结构、设计模式及扩展进行分析,以便更好的运用JUnit进行软件测试.
关键词 unit 框架 单元测试 设计模式
下载PDF
Characterizing the Urban Temperature Trend Using Seasonal Unit Root Analysis:Hong Kong from 1970 to 2015
12
作者 Wai-Ming TO Tat-Wai YU 《Advances in Atmospheric Sciences》 SCIE CAS CSCD 2016年第12期1376-1385,共10页
This paper explores urban temperature in Hong Kong using long-term time series. In particular, the characterization of the urban temperature trend was investigated using the seasonal unit root analysis of monthly mean... This paper explores urban temperature in Hong Kong using long-term time series. In particular, the characterization of the urban temperature trend was investigated using the seasonal unit root analysis of monthly mean air temperature data over the period January 1970 to December 2013. The seasonal unit root test makes it possible to determine the stochastic trend of monthly temperatures using an autoregressive model. The test results showed that mean air temperature has increased by 0.169~ C (10 yr) - 1 over the past four decades. The model of monthly temperature obtained from the seasonal unit root analysis was able to explain 95.9% of the variance in the measured monthly data -- much higher than the variance explained by the ordinary least-squares model using annual mean air temperature data and other studies alike. The model accurately predicted monthly mean air temperatures between January 2014 and December 2015 with a root-mean-square percentage error of 4.2%. The correlation between the predicted and the measured monthly mean air temperatures was 0.989. By analyzing the monthly air temperatures recorded at an urban site and a rural site, it was found that the urban heat island effect led to the urban site being on average 0.865~C warmer than the rural site over the past two decades. Besides, the results of correlation analysis showed that the increase in annual mean air temperature was significantly associated with the increase in population, gross domestic product, urban land use, and energy use, with the R2 values ranging from 0.37 to 0.43. 展开更多
关键词 urban temperature trend urban heat island effect seasonal unit root tests long-term time series
下载PDF
Empirical Approach for Planning and Designing Constant Stress Accelerated Life Tests
13
作者 蒋仁言 龙旭 《Journal of Donghua University(English Edition)》 EI CAS 2015年第6期1025-1028,共4页
Accelerated life testing(ALT)has been widely used to obtain information about the product's life characteristics at normal conditions in a relatively short period of time.Two key issues with ALT are test design an... Accelerated life testing(ALT)has been widely used to obtain information about the product's life characteristics at normal conditions in a relatively short period of time.Two key issues with ALT are test design and data analysis.The test design of constant stress ALT was studied in this paper.The test design usually combines engineering experiences with optimization models.Such approaches are hard to be implemented by practitioners.A"pure"empirical approach was presented to address this issue.With the proposed approach,some of the decision variables are determined based on the results from the literature,some of the other variables are determined based on engineering analysis and /or judgment,and the remaining variables are determined based on the empirical relations developed in this paper.A real-world example is included to illustrate the appropriateness of the proposed approach. 展开更多
关键词 accelerated life testing(ALT)design constant stress stress levels test units allocation censoring type
下载PDF
深入理解gtest:C/C++单元测试经验谈 被引量:1
14
作者 杨玚 《信息安全与技术》 2011年第1期91-96,共6页
本文基于笔者的实际开发经验,言简意赅地讲解了C/C++单元测试框架gtest的主要使用方法和注意事项,并设计了若干可编译的精简示例,给出了运行效果图。既可以用作gtest的入门教程,也适合作为工作中的快速参考。
关键词 单元测试 gtest C/C++
下载PDF
数据驱动测试在Nunit框架中的应用
15
作者 王敏 陈亚光 《微型机与应用》 2012年第22期10-12,18,共3页
为了解决单元测试工具Nunit本身不支持数据驱动测试的问题,提出了在Nunit框架下实现数据驱动测试的方法。该方法首先将测试类所使用的测试数据基本信息设定在ini文件中,将输入数据及预期结果存放于Excel文件中。随后通过属性标签[TestFi... 为了解决单元测试工具Nunit本身不支持数据驱动测试的问题,提出了在Nunit框架下实现数据驱动测试的方法。该方法首先将测试类所使用的测试数据基本信息设定在ini文件中,将输入数据及预期结果存放于Excel文件中。随后通过属性标签[TestFixtureSetUp]标记的方法动态读取ini文件中的基本信息,再根据这些基本信息读取Excel文件中的测试数据,并将测试数据保存于自定义的结构体数组中供各测试方法使用。该方法有效地实现了测试数据与测试脚本的分离,能降低测试脚本的维护工作量,提高测试效率。 展开更多
关键词 单元测试 Nunit框架 测试脚本 测试数据
下载PDF
基于LDRA Testbed的软件单元测试 被引量:9
16
作者 徐润德 陈亚 赵慕奇 《海军航空工程学院学报》 2011年第3期356-360,共5页
通过对LDRA Testbed的分析及采用LDRA Testbed进行软件单元测试,表明LDRA Testbed是一个可以有效应用于软件开发和测试阶段的软件测试工具,使用LDRA Testbed进行软件单元测试可以有效提高软件质量。
关键词 软件测试 单元测试 testbed
下载PDF
DbUnit在数据库测试中的应用
17
作者 胡银保 《兰州工业高等专科学校学报》 2012年第3期38-41,共4页
在实现测试驱动开发过程中,DbUnit工具是专门针对数据库测试的单元测试框架,它是对JUnit的一个扩展.DbUnit测试允许程序员在整个测试过程中自由地管理和控制数据库,将其置于一个可知的状态.在明确测试机制、搭建好测试环境的基础之上,... 在实现测试驱动开发过程中,DbUnit工具是专门针对数据库测试的单元测试框架,它是对JUnit的一个扩展.DbUnit测试允许程序员在整个测试过程中自由地管理和控制数据库,将其置于一个可知的状态.在明确测试机制、搭建好测试环境的基础之上,围绕数据库备份、植入测试数据集进行单元测试、使数据库恢复到测试前状态等问题进行分析和探讨,以期建立一个良好的测试流程. 展开更多
关键词 Dbunit 数据库单元测试 管理和控制数据库 测试流程
下载PDF
基于JTest的自动化单元测试技术 被引量:4
18
作者 高远 杨欣 李凯 《指挥信息系统与技术》 2018年第4期91-95,共5页
单元测试框架在软件开发及测试领域均较普及,基于常用基类和各种断言进行用户运用和拓展,可编写出适用于不同项目的单元测试用例。但当项目调用关系复杂或规模较大时,传统测试框架具有一定局限性。针对该问题,结合JTest测试工具,介绍了... 单元测试框架在软件开发及测试领域均较普及,基于常用基类和各种断言进行用户运用和拓展,可编写出适用于不同项目的单元测试用例。但当项目调用关系复杂或规模较大时,传统测试框架具有一定局限性。针对该问题,结合JTest测试工具,介绍了自动化单元测试流程和方法,可实现运用传统框架对大型项目自动生成并执行测试用例。JTest可通过分析代码自动生成并执行单元测试用例,跟踪代码执行情况,并生成测试报告,从而有效降低单元测试成本并提高测试效率。 展开更多
关键词 Jtest 单元测试 自动化测试
下载PDF
基于C++Test的嵌入式软件单元动态测试 被引量:1
19
作者 杨颖 李文波 钟理 《机车电传动》 北大核心 2014年第2期102-104,109,共3页
以车载辅助变流器平台软件单元动态测试活动为例,重点阐述了如何利用C++Test测试工具进行嵌入式软件单元动态测试的技术与方法,主要包括嵌入式软件单元测试环境的构建、函数的插桩、测试用例编制与执行以及覆盖率统计等关键内容,以指导... 以车载辅助变流器平台软件单元动态测试活动为例,重点阐述了如何利用C++Test测试工具进行嵌入式软件单元动态测试的技术与方法,主要包括嵌入式软件单元测试环境的构建、函数的插桩、测试用例编制与执行以及覆盖率统计等关键内容,以指导软件开发与测试人员有效开展单元测试活动。 展开更多
关键词 C++test 嵌入式软件 单元测试 桩函数
下载PDF
基于DbUnit的单元测试框架设计 被引量:1
20
作者 李英杰 宋晓静 《煤炭技术》 CAS 北大核心 2011年第6期178-179,共2页
DbUnit是一款开源的数据库功能测试框架,使用它可以对数据库的基本操作进行白盒单元测试,对输入输出进行校验,从而保证数据的有效性。DbUnit使用XML文件提供测试数据,为测试人员增加了测试难度,降低了单元测试效率。文章针对此种情况,... DbUnit是一款开源的数据库功能测试框架,使用它可以对数据库的基本操作进行白盒单元测试,对输入输出进行校验,从而保证数据的有效性。DbUnit使用XML文件提供测试数据,为测试人员增加了测试难度,降低了单元测试效率。文章针对此种情况,介绍了如何基于DbUnit设计一个数据库单元测试框架,使用Excel文件提供测试数据,从而提高数据库单元测试的工作效率。 展开更多
关键词 数据库单元测试 Dbunit 测试操作界面设计 测试框架数据库设计
下载PDF
上一页 1 2 … 85 下一页 到第 页
使用帮助 返回顶部