基于模型的Web应用测试用例生成方法
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着Internet的普及以及组件、中间件和Web Services等技术的迅速发展以及Web的广泛应用,Web应用的可靠性和质量保证成为一个非常关键的问题和研究热点。而软件测试是提高软件可靠性和保证软件质量的一种主要手段。
     Web应用是一种非常复杂的、分布式的、多层结构的交互式应用,为用户提供了一种全新的部署软件应用的方式。Web应用的异构性、动态性、连接的多样性、控制流程的可变性以及需要快速开发与发布等特性给Web应用的测试带来了新的挑战。目前还没有比较系统的方法和工具对Web应用进行有效的测试。Web应用的特性要求必须对传统的测试方法进行改进或提出新的适合Web应用特性的测试方法。目前的测试主要依赖测试工程师的直觉和经验,Web应用的测试被认为是一个耗时的、代价昂贵的过程。因此,迫切需要一套新的Web应用测试方法并实现测试的自动化。
     基于模型的、模型驱动的、以测试为中心的软件开发方法和技术的兴起和应用,以及形式化验证技术的逐步成熟,使基于模型的软件测试方法与技术在近几年得到了关注。基于模型的测试是一种突破性的黑盒测试技术,它以明确描述系统预期行为的抽象模型为依据,自动生成可执行的测试用例,产生测试脚本,执行测试并自动评价测试结果,实现测试过程的自动化。这种方法可以使得软件测试和软件设计以及实现同时进行,改变了软件工程中“现在编程,以后测试”的工作方式,使得在整个软件生命期中可以并行地进行测试工作。因此,基于模型的测试技术是实现对Web应用测试的有效途径。但是,这方面的研究还处于方法探索阶段。
     统一建模语言(UML)已经成为事实上的工业建模标准,能够很好地为用户的需求建模;而有限状态机(FSM)为测试软件的复杂行为提供了一个有效的机制,不必考虑软件的底层实现细节。
     本文以Web应用为研究对象,从UML模型和FSM模型出发,研究一系列基于模型的测试用例生成技术,获得基于模型的Web应用软件测试方法,构建一个从模型出发产生测试用例的原型工具,力图实现Web应用测试过程的自动化。
     在软件测试中,测试用例是依照测试准则来产生的。测试准则一直是人们研究测试方法的核心技术。本文在分析已有的基于UML模型测试准则的基础上,根据场景的概念(分为主要场景和次要场景),提出了基于UML用例图的七个测试准则:场景覆盖、主要场景覆盖、行为者主要场景覆盖、主要场景序列覆盖、用例覆盖、行为者用例覆盖和用例序列覆盖,并给出了这些测试准则的实际应用。另外还提出了基于UML对象图的两个测试准则:方法链覆盖和MM-path序列覆盖。这些基于UML模型的测试准则对于测试用例的生成具有非常重要的意义。
     用例视图是UML软件模型的核心,用例是推导系统测试需求的来源,它代表了系统提供给用户的高层功能,而顺序图可以进一步描述用户行为的先后发生顺序。因此,本文给出了一种基于UML用例图和顺序图对Web应用进行测试的方法。生成的测试用例是基于功能来划分的,因为一个用例可以看成是一个软件功能或其组合。根据所提出的基于UML用例图的覆盖测试准则,生成所需的测试用例。
     由于软件的实现应该和规格说明相一致,所以一个对规格说明有更好覆盖度的测试集就更能准确地评估软件的质量。基于模型的形式规格说明的主体(前置条件和后置条件)是谓词表达式。本文详细分析了基于规格说明的若干逻辑覆盖测试准则。针对已有的决定性逻辑覆盖测试准则的不足之处,提出了掩盖性逻辑覆盖测试准则,并对其进行了详细分析。根据该准则生成的测试用例能发现文字的掩盖性带来的错误。从谓词表达式的结构入手,分析了文字之间的约束关系、复杂谓词表达式的分解与合成、谓词表达式之间的关系。提出了全真谓词表达式覆盖、全假谓词表达式覆盖、完全子谓词表达式覆盖、唯一文字真覆盖以及唯一文字假覆盖等测试准则。满足这些测试准则的测试用例集能检测出不同类型的错误。给出了谓词表达式可能的错误类型,提出了最小的能检测逻辑联结词错误的测试用例集生成算法。
     本文还给出了从FSM模型出发自动生成测试用例的方法。在从FSM模型生成测试用例时,重点分析了与FSM有关的最常用、具有代表性的几种覆盖测试准则,包括状态覆盖、迁移覆盖、迁移对覆盖、谓词表达式覆盖、文字覆盖、受限活动文字覆盖、掩盖文字覆盖等测试准则,在此基础上提出了全循环K次覆盖测试准则,并提出了分别根据上述八种覆盖测试准则从FSM模型生成测试用例的算法。
     Web应用是一个具有高度交互性的系统,它可以看成是由软件组件之间的交互构成的集合。一个FSM内部的测试,通常只测试了Web应用的一部分,FSM之间的交互测试称之为FSM的组合测试。在FSM的组合测试级上,把每一个FSM看成是一个已经测试好的复合组件,FSM的组合测试就是测试这些复合组件的复合。一个复合组件包含其它的组件(或FSM),被测的Web应用就成了不同的交互组件的复合了。组件间根据动作来交互,当一个组件的输出动作与另一个组件的输入动作对应起来时,就认为这两个组件进行了交互。本文利用组件交互自动机复合的思想,提出了动作抽象化的复合规则,给出了一种基于FSM模型的组合测试方法。
     手工生成测试用例要求软件测试人员具有一定的经验和较高的专业水平。而且,没有系统化的方法作为指导会大大降低测试的质量和效率。为了实现测试的自动化并验证所提出的测试用例生成方法,本文设计并部分实现了一个测试用例生成方法的系统原型FSMTCGEN。
With the prevalence of Internet, the rapid development of component, middleware and Web services, and the wide application of the Web, the reliability and quality assurance of Web applications have become a very critical problem and a hot research topic. Software testing is a primary way of improving software reliability and assuring software quality.
     A Web application is a very complex, distributed, multi-tier, interactive system, which provides a brand-new way for users to deploy software application. The isomerism, dynamics, diverse connections, variant control flows, and rapid development and deployment of Web applications have brought the new challenge for their testing. At present, there are no systematic method and tool that are employed to test Web applications efficiently. The improved traditional methods or a new method appropriate for Web application testing are desired urgently for all the characteristics of Web applications. Since the current testing methods depend primarily on the testers' intuition and experience, the testing of Web applications is regarded as a time-consuming and expensive process. Therefore, a new methodology for Web application testing is required imminently to automate the testing.
     With the evolving and application of model-based, model-driven and test-centric software development methods and techniques, and the gradual development of formal verification technique, the model-based software testing methods and techniques have been respected recently. The model-based testing is a broken-through black-box testing. According to the abstract model that precisely describes the expected behaviors of the system, the model-based testing generates executable test cases automatically, produces test scripts, runs the tests, evaluates the test results automatically, and eventually automates the test process. This method synchronizes software testing, software design and software implementation, which changes the way of "programming earlier and testing later" in software engineering, as makes it possible to test the system in parallel in the whole software lifecycle. Therefore, the model-based testing is an effective way of testing Web applications. This research, however, is still in progress.
     UML (Unified Modeling Language) has already become the de facto standard in industry. It can be employed to model user requirements conveniently. FSM (Finite State Machine) provides an effective mechanism for testing the complex behaviors of software without considering the underlying details.
     This paper delves into a series of approaches to generating test case for Web applications from UML model and FSM model, in order to achieve the model-based testing techniques for Web applications, build a prototype for test case generation from the models, and eventually automate the testing process for Web applications.
     In software testing, test cases are generated according to testing criteria, which are the core technology in studying testing methods all the while. After analyzing the existent UML model-based testing criteria, this paper proposes seven UML use case diagram-based testing criteria: scenario coverage, primary scenario coverage, actor primary scenario coverage, primary scenario sequence coverage, use case coverage, actor use case coverage and use case sequence coverage according to the concept of scenario including primary scenario and alternative scenario, as well as putting them into practical use. It also presents two UML object diagram-based testing criteria: method chain coverage and MM-path sequence coverage. These UML model-based testing criteria are very significant in test case generation.
     Use case view is the core of UML model. Use cases, which represent the high functions provided for the users by the system, are the source to induce test requirement. Meanwhile, sequence diagram can describe the sequential relationship of user behaviors. Therefore, this paper gives an approach to testing Web applications based on UML use case diagrams and sequence diagrams. The test cases generated are partitioned according to functions, for a use case can be regarded as a software function or the composition of functions. According to those use case diagram-based coverage testing criteria proposed, the required test cases are generated.
     Since the implementation of a system must conform to its specification, a test set leading to a higher coverage ratio can evaluate more precisely the system's quality. Predicate expressions are the main form of the pre- and post-conditions in formal specifications. This paper analyzes logic coverage testing criteria for specification-based testing. It proposes and analyzes in detail masking logic coverage testing criteria, to solve the problems the existent determinant logic coverage testing criteria can not solve. The test cases satisfying the masking logic coverage testing criteria can detect those errors caused by the masking property of literals. It also analyzes the constraints among literals, how to decompose and compose a complicated predicate expression, and the relationship among predicate expressions. Additionally, test criteria including full true predicate expression coverage, full false predicate expression coverage, all sub-predicate expressions coverage, unique literal true coverage and unique literal false coverage are presented. The test sets satisfying these criteria can detect respectively different types of errors. The possible error types are given for a predicate expression and an approach is proposed to generating the minimal test set for detecting logic connector errors.
     This paper also illustrates how to obtain test cases generated automatically from FSM model. It analyzes primarily several important and typical FSM-related testing criteria, which include state coverage, transition coverage, transition pair coverage, predicate expression coverage, literal coverage, restricted active literal coverage, mask literal coverage, and the proposed full K loop coverage. The approaches to generating test cases according to these eight coverage testing criteria are presented respectively from FSM model.
     A Web application is a highly interactive system, which can be regarded as a set of interactive components. The testing of an FSM is usually related to testing a part of the Web application. The testing of interactions between FSMs is called FSM combination testing. In the FSM combination testing, each FSM is regarded as a composite component that has been already tested completely. So, the FSM combination testing is the testing of composition among composite components. A composite component consists of other components (or FSMs). The Web application under testing is thus the composition of different interacting components. The components are interacting according to their actions. When an output action of a component corresponds to an input action of another component, an interaction occurs. Based on the composition of component interaction automata, this paper presents the composition rules of action abstraction and elaborates on an approach to FSM model-based combination testing.
     Generating test cases manually requires the testers with a certain experience and high expertise. Moreover, the test quality and test efficiency will be reduced without a systematic methodology. To realize the test automation and validate further the test case generation approaches proposed, this paper designs and realizes partially a test prototype named FSMTCGEN.
引文
[1]Rick Hower.Web Site Test Tools and Site Management Tools.Software QA and Testing Resource Center,2002,http://www.softwareqatest.com/qatwebl.html.
    [2]IEEE Standard Glossary.IEEE Std 729,1983.
    [3]G.J.Myers.The Art of Software Testing.John Wiley & Sons,1979.
    [4]C.Kaner,J.Falk,H.Q.Nguyen.Testing Computer Software,John Wiley & Sons,1999.
    [5]J.B.Goodenough,S.L.Gerhart.Towards a Theory of Test Data Selection.IEEE Transactions on Software Engineering,1975,3(6),pp.156-173.
    [6]朱鸿,金凌紫.软件质量保障与测试.科学出版社,1997.
    [7]刘玲,缪淮扣.对逻辑覆盖软件测试准则的公理化评估.软件学报,2004,15(9),pp.1301-1310.
    [8]A.Pretschner,H.L6tzbeyer,J.Philipps.Model Based Testing in Evolutionary Software Development.IEEE International Workshop on Rapid System Prototyping,2001,pp.155-161.
    [9]Belinfante,L.Frantzen,C.Schallhart.Tools for Test Case Generation.Model-Based Testing of Reactive Systems,LNCS 3472,Springer-Verlag,2005,pp.391-438.
    [10]M.Utting,A.Pretschner,B.Legeard.A Taxonomy of Model-based Testing.Technical Report,Department of Computer Science,the University of Waikato(New Zealand),Apr.2006.
    [11]I.K.El-Far,J.A.Whittaker.Model-based Software Testing.Encyclopedia of Software Engineering,Volume 1,Wiley-InterScience,2002,pp.825-837.
    [12]M.Blackburn,R.Busser,A.Nauman.Why Model-based Test Automation is Different and What You Should Know to Get Started.In International Conference on Practical Software Quality and Testing,2004.
    [13]B.Legeard,F.Peureux,M.Utting.Controlling Test Case Explosion in Test Generation from B Formal Models.The Journal of Software Testing,Verification and Reliability,2004,14(2),pp.81-103.
    [14]蔡雄.基于模型的规格说明测试方法的研究.上海大学硕士学位论文,2008.
    [15]Huaikou Miao,Ling Liu.A Test Class Framework for Generating Test Class from Z Specifications.Proc.of 6th IEEE International Conference on Engineering of Complex Computer Systems(ICECCS2000),Japan,Tokyo,Sept.11-15,2000.
    [16]A.J.Offutt,S.Liu.Generating Test Data fi'om SOFL Specifications.Technical Report ISSE-TR-97-02,Department of Information and Sol'care Systems Engineering,George Mason University,Fairfax VA,1997,pp.1-24.Also Appear in Journal of Systems and Software,1999,49(1),pp.49-62.
    [17]A.J.Offutt,S.Liu,A.Abdurazik,et al.Generating Test Data from State-based Specifications.The Journal of Software Testing,Verification,and Reliability,2003,13(1),pp.25-53.
    [18]P.A.Muller,P.Studer,F.Fondement,et al.Platform Independent Web Application Modeling and Development with Netsilon.Software and Systems Modeling,2005,4(4).
    [19]M.Albert,V.Pelechano,J.Fons,et al.Extracting Knowledge from Association Relationships to Build Navigational Models.LA-WEB,2003,pp.2-10.
    [20]J.Conallen.Building Web Applications with UML,2nd edition.Addison-Wesley,2003.
    [21]A.Andrews,J.Offutt,R.Alexander.Testing Web Applications by Modeling with FSMs.Software and Systems Modeling,2005,4(3).
    [22]S.Murugesan.Web Engineering for Successful Software Development,Tutorial,Asia Pacific Web Conference(APWeb2000),Xi'an,China,Oct.2000.
    [23]C.-H.Liu,D.C.Kung,P.Hsia,C.-T.Hsu.Structural Testing of Web Applications.In Proceedings of the 11th International Symposium on Software Reliability Engineering (ISSRE '00),San Jose,CA,USA,Oct.2000,pp.84-96.
    [24]G.A.Di Lucca,A.R.Fasolino,F.Faralli,et al..Testing Web Applications.In Proceedings of the 18th International Conference on Software Maintenance(ICSM 2002),Montreal,Canada,Oct.2002,pp.313-319.
    [25]Jim Barnett,Michael Bodell,Dan Burnett,et al.State Chart XML(SCXML):State Machine Notation for Control Abstraction.W3C Working Draft,http://www.w3.org/TR/scxml/.
    [26]J.B.Goodenough,S.L.Gerhart.Toward a Theory of Testing:Data Selection Criteria.In Current Trends in Programming Methodology,R.T.Yeh(Ed.),Prentice-Hall,Englewood Cliffs,N J,1977(2),pp.44-79.
    [27]Ling Lin,Huaikou Miao.A Framework for Specification-Based Class Testing.The 8th IEEE International Conference on Engineering of Complex Computer Systems(ICECCS 2002),Greenbelt,USA,2002.
    [28]Ling Liu,Huaikou Miao.A Specification-Based Approach to Testing Polymorphic Attributes.The 6th International Conference on Formal Engineering Methods(ICFEM 2004),Seattle,USA,LNCS,Springer Verlag,Nov.8-12,2004.
    [29]A.Andrews,R.France,S.Ghosh,et al.Test Adequacy Criteria for UML Design Model.Journal of Software Testing,Verification and Reliability,John Wiley & Sons,Ltd.2003,13(2),pp.95-127.
    [30]L.Briand,Y.Labiche.A UML-based Approach to System Testing.Proceedings of the 4th International Conference on the UML,Toronto,Canada,Springer,2001,pp.194-208.Also Appears in Journal of Software and Systems Modeling,2002,1(1),pp.10-42.
    [31]J.Offutt,A.Abdurazik.Generating Tests from UML Specifications.Proceedings of the 2nd International Conference on the UML,Fort Collins,TX.Springer,1999,pp.416-429.
    [32]A.Abdurazik,J.Offutt.Using UML Collaboration Diagrams for Static Checking and Test Generation.Proceedings of the 3rd International Conference on the UML,York,UK,Springer,2000,pp.383-395.
    [33]A.Abdurazik,J.Offutt,A.Baldini.A Controlled Experimental Evaluation of Test Cases Generated from UML Diagrams.ISE-TR-04-03,May 2004.
    [34]Y.G.Kim,H.S.Hong,S.M.Cho,et al.Test Cases Generation from UML State Diagrams.IEE Proceedings-Software,1999,146(4),pp.187-192.
    [35]A.Rountev,S.Kagan,J.Sawin.Coverage Criteria for Testing of Object Interactions in Sequence Diagrams.Proceedings of the 8th International Conference on Fundamental Approaches to Software Engineering.Edinburgh:Springer-Verlag,2005,pp.234-248.
    [36]F.Basanieri,A.Bertolino.A Practical Approach to UML-based Derivation of Integration Tests.In Proceedings of the 4th International Quality Week Europe(QWE2000),Bruxelles,Nov.,3T.,2000.
    [37]Y.Wu,M.H.Chen,J.Offutt.UML-based Integration Testing for Component-based Software.The 2nd International Conference on COTS-Based Software Systems,Ottawa,Canada,2003,pp.251-260.
    [38]Marlon E.Vieria,Marcio S.Dias,Debra J.Richardson.Object-Oriented Specification-Based Testing Using UML Statechart Diagrams.In Proceedings of the ICSE Workshop on Automated Program Analysis,Testing and Verification,2000.
    [39]A.Rountev,S.Kagan,J.Sawin.Coverage Criteria for Testing of Object Interactions in Sequence Diagrams.Technical Report OSU-CISRC-12/04-TR68,Ohio State University,2004.
    [40]L.Z.Wang,J.S.Yuan,X.F.Yu,et al.Generating Test Cases from UML Activity Diagram Based on Gray-box Method.Proceedings of the 11th Asia-Pacific Software Engineering Conference(APSEC'04),IEEE Computer Society Press,2004,pp.284-291.
    [41]缪淮扣,费立志.UML状态图测试充分性准则的公理化评估.上海大学学报(自然科学版),2007,13(5),pp.489-496.
    [42]占学德,缪淮扣.基于UML状态图测试的充分性准则.计算机科学,2005,32(5),pp.230-235.
    [43]I.Jacobson.Language Support for Changeable Large Real Time Systems.OOPSLA'86Conference Proceedings,Special Issue of SIGPLAN Notices,1986,21(11),pp.377-384.
    [44]P.Kruchten.The Rational Unified Process-an Introduction.Addison-Wesley,2000.
    [45]Rational Software.Rational Unified Process:Best Practices for Software Development Teams.Rational Software White Paper,TP026B,Rev 11/01,2003.
    [46]D.Wood,J.Reis.Use Case Derived Test Cases.http://www.stickyminds.com/.
    [47]I.Jacobson.Object-Oriented Software Engineering:a Use Case Driven Approach.Addison-Wesley,1994.
    [48]J.Heumann.Generating Test Cases from Use Cases.The Rational Edge,Rational Software,http://the rationaledge.com/content/jun_01/m_cases_jh.html,2001.
    [49]R.V.Binder.Testing Object-Oriented Systems:Models,Patterns,and Tools.Boston:Addison-Wesley Longman Inc.,2000.
    [50]Marickb.The Craft of Software.Englewood Cliffs,NJ:Prentice-Hall,1995,pp.72-85.
    [51]P.G.Frankl,E.J.Weyuker.An Applicable Family of Data Flow Testing Criteria.IEEE Tran.on Software Eng.,1988,14(10),pp.1483-1498.
    [52]Paul C.Jorgensen,Carl Erickson.Object-oriented Integration Testing.Communications of the ACM,1994,37(3),pp.30-38.
    [53]Paul C.Jorgensen.Software Testing:a Craftsman's Approach.CRC Press Inc.,1995.
    [54]Doug Rosenberg,Kendall Scott.Sequence Diagrams:One Step at a Time.Software Development Magazine,Nr.4,http://www.sdmagazine.com/print/,Apr.2001.
    [55]OMG.UML 2.0 Superstructure Final Adopted Specification.2003.
    [56]牟凯,顾明.基于UML活动图的测试用例自动生成方法研究.计算机应用,2006,26(4),pp.844-846.
    [57]刘超,程序交互执行流程图及其测试覆盖规则.软件学报,1998,9(6):458-463.
    [58]刘敏,金茂忠,刘超.基于UML活动图模型生成测试场景的设计.计算机工程与应用,2001(12),pp.122-124.
    [59]B.Bruegge,A.H.Dutoit.Object-Oriented Software Engineering-Conquering Complex and Chalenging Systems,Prentice Hall,2000.
    [60]郭宁.UML及建模.北京:清华大学出版社,北京交通大学出版社,2007年1月.
    [61]钱忠胜,缪淮扣,陈圣波.基于ORD和FSM的Web应用的建模与测试.计算机科学,待发表.
    [62]Huaikou Miao,Zhongsheng Qian,Bo Song.Towards Automatically Generating Test Paths for Web Application Testing.2nd IEEE International Symposium on Theoretical Aspects of Software Engineering(TASE 2008),Nanjing,China,Jun.17-19,2008,pp.211-218.
    [63]B.Beizer.Software Testing Techniques,2nd Ed.,Van Nostrand Reinhold,New York,1990.
    [64]T.S.Chow.Testing Design Modeled by Finite State Machines.IEEE Transactions on Software Engineering,1978,4(3),pp.178-187.
    [65]S.Fujiwara,G.Bochmann,F.Khendek.Test Selection Based on Finite State Models.IEEE Transactions on Software Engineering,1991,17(6),pp.591-603.
    [66]J.Hartmann,C.Imoberdof,M.Meisenger.UML-based Integration Testing.ISSTA 2000Conference Proceedings,Portland,Oregon,Aug.22-25,2000,pp.60-70.
    [67]Byoungiu Choi,Hoijin Yoon,Jin-Ok Jeon.A UML-based Test Model for Component Integration Test.Workshop on Software Architecture and Component.Japan,1999,pp.63-70.
    [68]缪淮扣,占学德.基于UML Statecharts的测试用例生成.小型微型计算机系统,2005,26(4),pp.662-666.
    [69]苏荟,张毅坤.基于UML顺序图的面向对象软件簇级测试用例生成.计算机工程与科学,2007,29(11),pp.66-68.
    [70]黄陇,于洪敏,陈致明.基于UML顺序图的测试场景自动生成研究.计算机应用与软件,2006,23(4),pp.30-32.
    [71]E.F.Moore.Gedanken-Experiments on Sequential Machines.Automata Studies,Princeton,NJ:Princeton Univ.Press,Ann.Math.Studies,1956(34),pp.129-153.
    [72]钱忠胜,缪淮扣.基于用户会话的Web应用测试用例生成及其优化.计算机科学与探索,待发表.
    [73]Kung D C,Liu C H,Hsia P.An Object-Oriented Web Test Model for Testing Web Applications.In Proceedings of the 1st Asia-Pacific Conference on Web Applications(APAQS 2000),Washington:IEEE Computer Society,2000,pp.111-120.
    [74]Van Beek H M A,Mauw S.Automatic Conformance Testing of Internet Applications.Formal Approaches to Software Testing-FATES 2003,Springer-Verlag,2004,pp.53-63.
    [75]J.Wittevrongel,F.Maurer.SCENTOR:Scenario-Based Testing of E-business Applications.In Proceedings of 10th IEEE International Workshop on Enabling Technologies:Infrastructure for Collaborative Enterprises(WETICE 2001),Washington:IEEE Computer Society,2001,pp.41-48.
    [76]P.Tonella,F.Ricca.Testing Processes of Web Applications.Annals of Software Engineering,2002,14(1),pp.93-114.
    [77]F.Ricca,P.Tonella.Analysis and Testing of Web Applications.In Proceedings of the 23rd International Conference on Software Engineering(ICSE 2001),Toronto,Ontario,Canada,2001,pp.25-34.
    [78]D.Amyot,J.F.Roy,M.Weiss.UCM-Driven Testing of Web Applications.In Proceedings of 12th International SDL Forum,Springer,Grimstad,Norway,June,2005,pp.247-264.
    [79]G.A.D.Lucca,A.R.Fasolino.Testing Web-based Applications:The State of the Art and Future Trends.Information and Software Technology,2006(48),pp.1172-1186.
    [80]张庆,雷航.一种基于UML状态图的面向对象类级测试模型.计算机工程,2005,31(21),pp.75-77.
    [81]J.Chilenski,S.Miller.Applicability of Modified Condition/Decision Coverage to Software Testing.Software Engineering Journal,Sept.1994,9(5),pp.193-200.
    [82]P.Amman,J.Offutt.Coverage Criteria for Logical Expressions.In:K.Stephanie(ed.),Proc.of the 14th Int'l Symp.on Software Reliability Engineering.IEEE Computer Society Press,2003,pp.99-107.
    [83]E.J.Weyuker,T.Goradia,A.Singh.Automatically Generating Test Data From a Boolean Specification.IEEE Transactions on Software Engineering,May 1994,20(5),pp.353-363.
    [84]S.A.Vilkomir,J.P.Bowen.Reinforced Condition/Decision Coverage(RC/DC):a New Criterion for Software Testing.Proc.of the 2nd Int'l Conf.of Z and B Users,Grenoble,France,Springer-Verlag,LNCS 2272,2002,pp.295-313.
    [85]J.Offutt,Y.Xiong,S.Liu.Criteria for Generating Specification-based Tests.Proc.of the 5th IEEE int'l Conf.on Engineering of Complex Computer Systems(ICECCS'99),Las Vegas,Nevada,USA,Oct.18-21,1999,pp.119-129.
    [86]S.A.Vilkomir,J.P.Bowen.Formalization of Software Testing Criteria Using the Z Notation.Proc.of the 25th IEEE Annual Int'l Computer Software and Applications Conf.(COMPSAC'01 ),Chicago,USA,Oct.8-12,2001,IEEE Computer Society Press,pp.351-356.
    [87]P.E.Black,V.Okun,Y.Yesha.Mutation Operators for Specifications.In:R.Anne(ed.),Proc.of the 5th IEEE Int'l Conf.on Automated Software Engineering,IEEE Computer Society Press,2000,pp.81-88.
    [88]A.L.Baker,J.W.Howatt,J.M.Bieman.Criteria for Finite Sets of Paths that Characterize Control Flow.Proc.of the 19th Annual Hawaii Int'l Conf.on System Sciences,1986,pp.158-163.
    [89]胡芸,缪淮扣,刘玲.从测试规格说明到测试用例的自动生成方法.同济大学学报,2002,30(10),pp.1226-1231.
    [90]朱彬,刘玲,缪淮扣.几种范畴划分测试充分性准则的比较.计算机科学,2004,31(1).
    [91]刘玲.基于面向对象形式规格说明的测试用例生成技术.上海大学博士学位论文,2004.
    [92]K.C.Tai.Predicate-Based Test Generation for Computer Programs.Proc.of int'l Conf.on Software Engineering,May 1993,pp.267-276.
    [93]H.Zhu,P.A.Hall,H.R.May.Software Unit Test Coverage and Adequacy.ACM Computing Surveys,Dec.1997,29(4),pp.336-427.
    [94]J.Dick,A.Faivre.Automating the Generation and Sequencing of Test Cases from Model-based Specification,In Proceedings of FME'93:Industrial-Strength Formal Methods. Odense,Penmark,Springer-Verlag,1993,pp.268-284.
    [95]P.Stocks,D.Carrington.A Framework for Specification-based Testing.IEEE Transaction on Software Engineering.1996,22(11),pp.777-793.
    [96]Robert M.Hierons.Testing from a Z Specification.The Journal of Software Testing,Verification,and Reliability,1997(7),pp.19-33.
    [97]P.Ammann,J.Offutt.Introduction to Software Testing,part Ⅱ:Coverage Criteria.2005.
    [98]吕映芝,张素琴,蒋维杜.编译原理.北京:清华大学出版社,1998.
    [99]郑人杰,殷人昆,陶永雷.实用软件工程(第二版).北京:清华大学出版社,1997.4.
    [100]R.V.Binder.Testing Object-Oriented System:Models,Patterns,and Tools.Boston:Addison Wesley Longman,Inc.2000.
    [101]A.Andrews,J.Offutt,R.Alexander.Testing Web Applications.Software and Systems Modeling,2004.
    [102]L.Brim,I.Cema,P.Varekova,et al.Component-Interaction Automata as a Verification-oriented Component-based System Specification.In Proceedings of SAVCBS,Lisbon,Portugal,Sept.2005,pp.31-38.
    [103]曾红卫.Web应用的验证与测试.上海大学博士学位论文,2008.
    [104]A.W.Williams,R.L.Probert.A Measure for Component Interaction Test Coverage.In Proceedings of the ACSI/IEEE International Conference on Computer Systems and Applications(AICCSA 2001),Beirut,Lebanon,Jun.2001,pp.304-311.
    [105]M.Grindal,J.Offutt,S.F.Andler.Combination Testing Strategies:a Survey.GMU Technical Report ISE-TR-04-05,Jul.2004.
    [106]Mats Grindal,Birgitta Lindstrom,J.Offutt,et al.An Evaluation of Combination Strategies for Test Case Selection.Kluwer's Empirical Software Engineering,2005,11(4).
    [107]P.E.Ammann,J.Offutt.Using Formal Methods to Derive Test Frames in Category-partition Testing.In Proceedings of the Ninth Annual Conference on Computer Assurance(COMPASS'94),Gaithersburg MD,IEEE Computer Society Press,Jun.1994,pp.69-80.
    [108]D.M.Hoffman,P.A.Strooper,L.White.Boundary Values and Automated Component Testing.Journal of Software Testing,Verification,and Reliability,1999,9(1),pp.3-26.
    [109]Huaikou Miao,Shengbo Chen,Huanzhou Liu,Zhongsheng Qian.An Approach to Generating Test Cases for Testing Component-based Web Applications.Workshop on Intelligent Information Technology Application(ⅡTA'07),Zhang Jiajie,China,Dec.,2007,pp.264-269.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700