首页 | 官方网站   微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 125 毫秒
1.
不论采用什么技术和方法,软件中仍然会有错。软件测试的目的是发现程序中的错误,是为了证明程序有错,而不是证明程序无错。软件测试的目的之一就是尽可能早地发现软件中存在的错误,所以单元测试很重要。重点论述单元测试中最常用到的静态测试技术,也论述黑盒测试与白盒测试等动态测试技术的运用。  相似文献   

2.
Testbed/Tbrun应用于嵌入式软件单元测试   总被引:1,自引:0,他引:1  
以实际测试对象为例.论述软件测试工具Testbed/TBrun在嵌入式软件单元测试中的应用。介绍了软件测试工具的功能、代码插装原理、测试环境搭建、结构覆盖率测试、测试数据获取途径等相关技术研究及经验总结。  相似文献   

3.
由于ATE软件系统与硬件设备结合紧密,对其进行软件测试不能照搬一般软件测试方法.结合 ATE软件系统的特点和工作方式,研究了其软件的测试方法.按照软件测试的全程,主要从单元测试、集成测试、系统测试等多个层次进行研究和探讨.重点研究了单元测试过程中测试内容和测试用例的生成.介绍了自动测试在ATE软件系统测试方面的应用和所采用的自动测试工具.  相似文献   

4.
鉴于声纳嵌入式软件的特点.实时和多任务处理,嵌入式软件测试有其自身的特点和难点。作者根据软件测试理论,结合XX型号测试实践,重点介绍单元测试的理论和方法,提出了,如何使用测试工具进行结构覆盖率测试。  相似文献   

5.
用JFCunit对GUI图形界面进行单元测试   总被引:3,自引:0,他引:3  
Junit是现在软件开发过程中最常用的单元测试工具,它为软件的自动化单元测试实现提供了一个理想的测试框架,它主要是针对功能性代码的测试。WCunit是基于Junit扩展而来,专门用来解决GUI图形界面单元测试的问题。本文先简要介绍了Junit和WCunit的基本框架,然后对JFCunit和Junit的特点进行比较,分析了JFcunit的适用范围以及使用JFCunit的好处;最后以一个简单实例阐述了使用WCunit进行GUI图形界面单元测试的一般方式。  相似文献   

6.
何敬怡 《硅谷》2012,(10):75-76
软件测试是软件生命周期中的关键环节,是保证软件质量的关键因素,同时也是软件工程的组成部分之一,软件测试也是软件开发人员和用户验证软件产品是否合格的重要手段。在介绍软件测试的基础上,重点分析几种软件测试技术,并结合实际软件测试项目,讨论测试管理流程及测试中心的构建。  相似文献   

7.
针对白盒测试的单元测试的技术开发,运用Echpse平台上的JUnit单元测试框架,编写出正确的单元测试用例,针对程序模块(软件设计的最小单位)来进行正确性检验的测试工作。通过实现测试自动化,进一步提高软件质量。  相似文献   

8.
李杨 《硅谷》2011,(7):170-171
软件测试是保证软件质量的重要方法,而如何保证测试工作的质量则是测试领域关注的要点。分析软件测试的误区及影响软件测试质量的因素,针对软件测试的工作流程,提出控制测试质量的实施要点。  相似文献   

9.
本文介绍了软件测试的重要性和目的,阐述了软件测试技术的方法和软件测试的一般过程,分析了目前常见的软件测试模型,并提出了一种新的软件测试模型。  相似文献   

10.
软件测试贯穿于整个软件生命周期,包括软件需求分析、软件概要设计、软件详细设计、软件编码等各个阶段,是为发现错误并执行程序的过程。软件测试标准化是通过制定、组织实施并监督的方式,规范软件测试的技术方法、工具和组织管理等,以此来提高软件产品的可靠性并保障软件产品的质量。本文首先介绍了软件测试的发展现状及趋势,然后对软件测试的国内外标准化情况进行综合分析,最后总结我国软件测试标准化现存的问题并给出工作建议。  相似文献   

11.
Video games comprise a multi-billion-dollar industry. Companies invest huge amounts of money for the release of their games. A part of this money is invested in testing the games. Current game testing methods include manual execution of pre-written test cases in the game. Each test case may or may not result in a bug. In a game, a bug is said to occur when the game does not behave per its intended design. The process of writing the test cases to test games requires standardization. We believe that this standardization can be achieved by implementing experimental design to video game testing. In this research, we discuss the implementation of combinatorial testing, specifically covering arrays, to test games. Combinatorial testing is a method of experimental design that is used to generate test cases and is primarily used for commercial software testing. In addition to the discussion of the implementation of combinatorial testing techniques in video game testing, we present an algorithm that can be used to sort test cases to aid developers in finding the combination of settings resulting in a bug.  相似文献   

12.
Software testing is one of the most important techniques to examine the behavior of the software products to assure their quality. An effective and efficient testing approach must balance two important but conflicting requirements. One of them is the accuracy that needs a large number of test cases for testing, and the second one is reducing the time and cost, which requires a few test cases. Even for small software, the number of possible test cases is typically very large, and exhaustive testing is impractical. Hence, selecting appropriate test suite is necessary. Cause–effect graph testing is a common black‐box testing technique, which is equivalently representing Boolean relations between input parameters. However, the other traditional black‐box strategies cannot identify the relations that it may result in loss of some of the important test cases. Although the cause–effect graph is regarded very promising in specification testing, it is observed that most of the proposed approaches using the graph are complex or generate impossible and a large number of test cases. This observation has motivated our research to propose an efficient strategy to generate minimal test suite that simultaneously achieves high coverage of input parameters. To do so, at first, we identify major effects from the cause–effect graph using reduced ordered binary decision diagram (ROBDD). ROBDD makes the related Boolean expression of the graph concise and obtains a unique representation of the expression. Using the ROBDD, it is possible to reduce the size of the generated test suite and to perform testing faster. After that, our proposed method utilizes particle swarm optimization (PSO) algorithm to select the optimal test suite, which covers all pairwise combinations of input parameters. The experimental results show that our approach simultaneously achieves high efficacy and reduces cost of testing by selecting appropriate test cases, respectively, to both test size and coverage size. Also, it outperforms some existing state‐of‐the‐art strategies in the black‐box testing. Copyright © 2015 John Wiley & Sons, Ltd.  相似文献   

13.
作为现役飞机最为先进航电技术的代表,高速数据总线在设计上的复杂性是显而易见的。如何对其性能进行全面考察是一个非常重要的问题。本文所论述的联网测试软件提供了一个有效的方法,实现了对LTPB联网性能的测试与演示。一方面证明了软件本身设计的合理笥,同时也进一步证明了整个LTPB设计与实施的正确性。  相似文献   

14.
Software testing is an important and cost intensive activity in software development. The major contribution in cost is due to test case generations. Requirement-based testing is an approach in which test cases are derivative from requirements without considering the implementation’s internal structure. Requirement-based testing includes functional and nonfunctional requirements. The objective of this study is to explore the approaches that generate test cases from requirements. A systematic literature review based on two research questions and extensive quality assessment criteria includes studies. The study identifies 30 primary studies from 410 studies spanned from 2000 to 2018. The review’s finding shows that 53% of journal papers, 42% of conference papers, and 5% of book chapters’ address requirements-based testing. Most of the studies use UML, activity, and use case diagrams for test case generation from requirements. One of the significant lessons learned is that most software testing errors are traced back to errors in natural language requirements. A substantial amount of work focuses on UML diagrams for test case generations, which cannot capture all the system’s developed attributes. Furthermore, there is a lack of UML-based models that can generate test cases from natural language requirements by refining them in context. Coverage criteria indicate how efficiently the testing has been performed 12.37% of studies use requirements coverage, 20% of studies cover path coverage, and 17% study basic coverage.  相似文献   

15.
The approaches for software failure probability estimation are mainly based on the results of testing. Test cases represent the inputs, which are encountered in an actual use. The test inputs for the safety-critical application such as a reactor protection system (RPS) of a nuclear power plant are the inputs which cause the activation of protective action such as a reactor trip. A digital system treats inputs from instrumentation sensors as discrete digital values by using an analog-to-digital converter. Input profile must be determined in consideration of these characteristics for effective software failure probability quantification. Another important characteristic of software testing is that we do not have to repeat the test for the same input value since the software response is deterministic for each specific digital input. With these considerations, we propose an effective software testing method for quantifying the failure probability. As an example application, the input profile of the digital RPS is developed based on the typical plant data. The proposed method in this study is expected to provide a simple but realistic mean to quantify the software failure probability based on input profile and system dynamics.  相似文献   

16.
混合试验是一种将数值模拟与物理试验相结合的新兴结构抗震试验方法,是一种评估非线性结构和系统性能的先进试验方法。该文提出了一种采用电动式激振器的混合试验系统设计方法。该方法以电动式激振器为作动器,并采用MATLAB软件、STM32系列单片机、串口通信技术、等效力控制方法以及位移传感器、力传感器等构建了一套包含硬件和软件的完整的混合试验系统。为了检验所设计混合试验系统的性能,选用粘弹性阻尼器作为试验子结构,对加入粘弹性阻尼器的单自由度框架结构进行了混合试验分析,结果表明:该文设计的混合试验系统数据通信可靠,整个系统可行、有效。  相似文献   

17.
Using predeveloped software, a digital safety system is designed that meets the quality standards of a safety system. To demonstrate the quality, the design process and operating history of the product are reviewed along with configuration management practices. The application software of the safety system is developed in accordance with the planned life cycle. Testing, which is a major phase that takes a significant time in the overall life cycle, can be optimized if the testability of the software can be evaluated. The proposed testability measure of the software is based on the entropy of the importance of basic statements and the failure probability from a software fault tree. To calculate testability, a fault tree is used in the analysis of a source code. With a quantitative measure of testability, testing can be optimized. The proposed testability can also be used to demonstrate whether the test cases based on uniform partitions, such as branch coverage criteria, result in homogeneous partitions that is known to be more effective than random testing. In this paper, the testability measure is calculated for the modules of a nuclear power plant's safety software. The module testing with branch coverage criteria required fewer test cases if the module has higher testability. The result shows that the testability measure can be used to evaluate whether partitions have homogeneous characteristics.  相似文献   

18.
Regression testing (RT) is an essential but an expensive activity in software development. RT confirms that new faults/errors will not have occurred in the modified program. RT efficiency can be improved through an effective technique of selected only modified test cases that appropriate to the modifications within the given time frame. Earlier, several test case selection approaches have been introduced, but either these techniques were not sufficient according to the requirements of software tester experts or they are ineffective and cannot be used for available test suite specifications and architecture. To address these limitations, we recommend an improved and efficient test case selection (TCS) algorithm for RT. Our proposed technique decreases the execution time and redundancy of the duplicate test cases (TC) and detects only modified changes that appropriate to the modifications in test cases. To reduce execution time for TCS, evaluation results of our proposed approach are established on fault detection, redundancy and already executed test case. Results indicate that proposed technique decreases the inclusive testing time of TCS to execute modified test cases by, on average related to a method of Hybrid Whale Algorithm (HWOA), which is a progressive TCS approach in regression testing for a single product.  相似文献   

19.
手机应用层软件测试越来越成为评价手机质量的一个重要手段。本文介绍了手机应用层软件测试的标准、方法和测试工具。对手机软件故障发生的原因以及如何做好手机软件故障的售后服务做了分析,举例说明消费者如何对手机的应用层软件进行测试。  相似文献   

20.
随着航空技术的发展,现有攻角、侧滑角传感器的测试方法无法满足机载系统大量测试的需求。针对这一现状,基于LabVIEW语言设计了一套标准空速管角度测试装置测控系统,并详细阐述了系统的工作原理、硬件结构和软件设计。经试验验证,该测控系统可靠性好、自动化程度高,为机载系统的相关性能评价提供了重要依据。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号