首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 687 毫秒
1.
单元测试是提高软件质量的重要手段,而数据库应用程序的测试是单元测试中的难点之一.阐述了单元测试和测试框架在软件开发中的作用,展示了在PowerBuilder开发环境中使用单元测试框架对数据库访问代码进行单元测试的实例.  相似文献   

2.
周端阳  王猛 《计算机应用》2010,30(8):2189-2192
单元测试是整个测试流程中的基础也是最重要的环节,通过深入研究三层体系结构特点,提出了一种基于该体系结构下的单元测试框架,该框架采用流行的面向接口编程技术,同时将设计模式灵活应用其中,有效指导了整个测试过程。目前整套框架已投入实际项目的运行,并且经过实践证明是切实可行的,不仅能及时发现软件开发过程中潜藏的问题,更有效保证Web应用程序的质量, 节省了后期维护费用的开销。  相似文献   

3.
单元测试在软件开发过程中起着非常重要的作用。JUnit是一个用于Java单元测试的开放源代码的测试框架,本文通过具体案例,介绍应用JUnit进行自动化测试的方法。  相似文献   

4.
陈敏 《福建电脑》2008,24(11):42-42
当前从事软件开发的单位、个人越来越多,但是如何保证软件的质量,是大多数新生软件开发企业或个人所必须面对的问题。测试是保障质量的重要手段。本文就MBUnit框架下对.NET2.0所写程序进行单元测试的相关技术进行了探讨。  相似文献   

5.
《软件》2019,(7):212-216
单元测试是软件测试中的最底层的一种测试活动,是软件开发中不可忽视的一个环节,但我国高校软件单元测试的教学效果并不理想。本文分析了传统实验教学存在的问题,引入先进流行的开源测试框架,设计了单元测试实验课程教学内容;采用任务驱动教学方法,以理论知识为基础,以企业需求为标杆,对实验教学方法进行了改革,收到了良好的教学效果。  相似文献   

6.
用JUnit进行单元测试   总被引:1,自引:0,他引:1  
在目前的软件开发过程中,单元测试(unit test)的角色愈来愈重要。JUnit是一个优秀的Java单元测试框架,本文将向读者介绍它的使用方法。  相似文献   

7.
单元测试是针对单个功能模块的测试,能尽早发现缺陷,降低滞后纠错的高成本。当今面向对象软件开发强调迭代和增量式的开发方法,单元测试为其提供了质量保证支持。在单元测试实践的基础上提出了一种单元测试支持工具的设计方法,该工具提供了一个灵活有效的单元测试框架和基于该框架的测试用例管理和优化方法。  相似文献   

8.
轻量级Java EE框架下软件测试的应用研究   总被引:1,自引:0,他引:1  
软件开发中,软件测试的作用越来越重要.目前,轻量级Java EE框架得到了广泛流行,如何在该框架下进行高效、方便的单元测试和集成测试,具有重要意义.从轻量级Java EE框架的特点出发,结合测试驱动开发(TDD)的理念,分析了采用Mtxk、EasyMock进行仿真单元测试的方法;利用依赖注入(DI)与事务管理进行集成测试;对Spring与Hibemate结合的一个集成测试问题,给出了运用面向切面编程的环绕通知的解决办法.文中总结的测试方法与经验,对于轻量级框架下的管理信息系统的测试准备、部署以及实施,能够显著提高效率,同时也有助于TDD团队的组织与合作.  相似文献   

9.
单元测试是在整个软件开发过程中的一个重要环节,单元是软件的构成基础,因此单元的质量是整个软件质量的保证。嵌入式软件由于与CPu密切相关,多采用汇编语言编程,使得其测试一直是个难点,特别是单元测试。针对嵌入式软件的特点,本文根据软件单元测试的理论,介绍一种使用旋极AsmTester对嵌入式汇编语言编程的软件进行单元测试的方法。  相似文献   

10.
介绍了在LINUX环境下采用测试驱动开发(Test-Driven Development,TDD),对大规模C++软件系统进行增量开发的方法。通过采用Google单元测试框架优化单元测试用例结构,提高单元测试的效率,采用新一代版本构建工具Scons优化复杂的代码依赖关系,采用分布式编译工具Distcc、编译器缓存工具C Cache优化版本构建时间,极大减少了软件开发人员在开发过程中进行TDD所必需的频繁本地构建的成本,为在大规模C++历史遗留系统上,采用TDD进行增量开发,以及进行由此带来的小规模重构提供了有效保证。  相似文献   

11.
随着IT技术的不断发展,越来越多的人把关注目光投入到了计算机软件领域,而软件构架凭借其在软件设计过程中的重要地位更是得到了大家的重视。本文以软件构架为研究对象进行分析,从软件架构与软件框架的概念谈起,阐述了软件架构的发展历程,并总结了软件架构的现状及其局限性。  相似文献   

12.
随着IT技术的不断发展,越来越多的人把关注目光投入到了计算机软件领域,而软件构架凭借其在软件设计过程中的重要地位更是得到了大家的重视。本文以软件构架为研究对象进行分析,从软件架构与软件框架的概念谈起,阐述了软件架构的发展历程,并总结了软件架构的现状及其局限性。  相似文献   

13.

Context

An optimal software development process is regarded as being dependent on the situational characteristics of individual software development settings. Such characteristics include the nature of the application(s) under development, team size, requirements volatility and personnel experience. However, no comprehensive reference framework of the situational factors affecting the software development process is presently available.

Objective

The absence of such a comprehensive reference framework of the situational factors affecting the software development process is problematic not just because it inhibits our ability to optimise the software development process, but perhaps more importantly, because it potentially undermines our capacity to ascertain the key constraints and characteristics of a software development setting.

Method

To address this deficiency, we have consolidated a substantial body of related research into an initial reference framework of the situational factors affecting the software development process. To support the data consolidation, we have applied rigorous data coding techniques from Grounded Theory and we believe that the resulting framework represents an important contribution to the software engineering field of knowledge.

Results

The resulting reference framework of situational factors consists of eight classifications and 44 factors that inform the software process. We believe that the situational factor reference framework presented herein represents a sound initial reference framework for the key situational elements affecting the software process definition.

Conclusion

In addition to providing a useful reference listing for the research community and for committees engaged in the development of standards, the reference framework also provides support for practitioners who are challenged with defining and maintaining software development processes. Furthermore, this framework can be used to develop a profile of the situational characteristics of a software development setting, which in turn provides a sound foundation for software development process definition and optimisation.  相似文献   

14.
Our paper describes the requirements and possibilities of integration of metrics tools in the field of software quality assurance. Tools for the support of the measurement process are herein classified as Computer Assisted Software Measurement and Evaulation Tools (CAMETools). Software measurement regarded as a special type of metrics application provides a great amount of basic information for the evaluation of the software development process or the software product itself. Our paper examines the effectiveness and destination of software measurement in tool-based software development and is based on an analysis of more than 20 CAME tools in the Software Measurement Laboratory at the University of Magdeburg. CAMEtools are useable for the process, product, and resources evaluation in all phases of the software life cycle (including the problem definition) for different development paradigms. The efficiency of CAME tools is described on the basis of a general measurement framework. This framework includes all steps in the software measurement and evaulation process: metrics definition, selection of the evaluation criteria, tool-based modelling and measurement, value presentation and statistical analysis. The framework includes the main aspects of the process evaluation techniques (Capability Maturity Model, ISO 9000-3 etc.) and product evaluation (ISO 9126, etc.). It is not a disjointed set of aspects: our measurement framework represents an incremental technique for the application of quantification of quality aspects in a required quality assurance  相似文献   

15.
面向中小软件企业的过程改进模型6SBC研究   总被引:1,自引:0,他引:1  
对于中小软件企业而言,实施能力成熟度模型集成(CMMI)将面临更多的挑战,但是中小软件企业为了在激烈的市场竞争中生存和发展,必须要实施软件过程改进.介绍了CMMI和六西格玛理论,给出了适合中小软件企业的一个剪裁的CMMI框架,并在这个框架的基础上结合六西格玛的DMAIC方法,提出了一个软件过程改进模型6SBC.该模型大大缩短了中小软件企业达到CMMI2和CMMI3级别的实施时间,在竞争激烈的软件市场中有效地提升了中小软件企业的核心竞争力.  相似文献   

16.
《Information & Management》1996,31(3):165-175
Frameworks intended for identifying and organizing issues associated with offshore outsourcing of software development have focused on project or site selection. Existing frameworks are not comprehensive because they do not fully address one or more of the following issues: (1) the relationship between project characteristics and site suitability, (2) financial and intellectual property issues in the context of software development, and (3) the role of agents outside the outsourcing and vendor firms in the offshore outsourcing process. To overcome these limitations, we propose a more comprehensive framework that links projects (which require resource) and sites (which possess resources). It also includes environmental agents whose actions affect resource availability at the sites. The framework serves as an useful tool to systematically address the issues that arise in the context of offshore outsourcing of software development. We use the framework to review and classify existing literature.  相似文献   

17.
本文提出了一种基于构件和框架、面向方面的软件产品线设计方法CFB-AOD(ComponentandFrameworkBased,AspectOrientedDesign)。CFB-AOD关注实际的软件开发过程,致力于在软件产品线的开发过程中融入构件技术、框架技术和面向方面技术,对软件开发特别是软件产品线开发有实际的指导意义。并以北航软件所白盒测试工具产品线QESat为例,介绍了CFB-AOD的实际运用。  相似文献   

18.
陈伟  魏峻  黄涛 《软件学报》2012,23(7):1669-1687
部署是软件生命周期中的一个重要环节,是软件生产的后期活动,通过配置、安装和激活等活动来保障软件制品的后续运行.为了系统地了解软件部署的现状和最新进展,建立了一个多侧面、细粒度的分析框架——W4H,以对该领域的主要研究工作和系统工具进行概括分析.该框架从软件部署的概念和面对的问题空间出发,由5个侧面、12个维度构成,覆盖了软件部署方法中主体、客体、适用范围、方式策略和过程支持能力等多个方面.基于W4H分析框架,对当前具有代表性的软件部署方法与技术进行分析和总结.案例研究结果表明,该分析框架能够对软件部署方法与技术进行较为全面的分析,对软件系统部署方法和技术的选择及开发具有重要的指导意义.  相似文献   

19.
针对煤矿监控类软件开发面临版本混乱、重复开发、维护困难,软件的定制化修改导致不同煤矿监控软件之间的通信变得困难等问题,提出了一种采用微服务架构的煤矿监控类软件开发框架。基于微服务架构,通过规范化开发流程、简化技术栈优化煤矿监控类软件的开发流程;将基础业务固化在开发框架中,专有业务通过微服务的方式进行加载运行,减少了基础代码的重复编码工作,并使得专有业务可以重用;沙盒运行方式让微服务的部署不受运行环境影响,部署方便,跨平台移植性强,微服务托管平台可对微服务进行统一的版本管理。实际应用结果表明:采用微服务架构的煤矿监控类软件通过将常用功能拆分为微服务,可以最大程度减少软件功能的重复开发,微服务的数据存储效率比现有垂直架构更高,使用Docker镜像部署,软件安装过程更为便捷,为监控类软件开发提供了一种更为高效的开发方式。  相似文献   

20.
The popular and well-tested software process frameworks such as the Software Engineering Institute's Capability Maturity Model and ISO 9001, details key process areas for software development. Focusing more on continuous improvement in code development processes, generic-process frameworks such as the CMM lack key process areas (KPA) that address capabilities for managing distributed software projects, such as establishing mutual knowledge and managing geographically dispersed social networks. We identify 24 new KPAs that address the wide-ranging capabilities needed for managing distributed software development and arrange them in an evolutionary order similar to the CMM framework. The evolutionary or phased approach in improving software management capabilities helps firms systematically assess their situations and plan for improvements. We also report the results of a statistically tested maturity assessment survey and test the overall rigor of our model against industry expert opinion and objective data collected from real-world projects implemented at SAP AG, a leading global-enterprise software firm.  相似文献   

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

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