Thank you all.
MASTER OF SCIENCE THESIS 1
APARNA VIJAYA 1
Supporting the automatic test case and oracle generation using system models 1
1
Acknowledgment 3
Abstract 4
Table of Contents 4
Definitions and Acronyms 6
List of figures 7
List of tables 8
Table 1 8
Table 2 8
Comparison of tools using ISO/IEC 9126 standard 8
1. Introduction 9
1.1 Motivation for selecting the topic 9
1.2 Goals 9
1.2.1 Challenges 9
1.3 Disposition 10
2. Technical Information 11
2.1 Introduction to Model Driven Development 11
2.2 Introduction to Model based testing 13
2.3 Importance of Model based testing 15
2.4 Different scenarios in MBT 16
3. Comparison and Analysis of Existing MBT Tools 16
4. Model Based Testing At Ericsson 20
5. Approach for automatic test case generation 22
5.1 Different Coverage Criteria 23
5.1.3 Requirements-based criteria 25
6. Existing Methods 26
6.1 The Combinatorial Design Paradigm 26
6.2 Usecase approach 27
6.2.1 Adding Contracts to the Use Cases 29
6.3 Approach in LEIRIOS Tool 29
7. Overview of Bridgepoint, TTCN and Tefkat 31
8. Preferred Approaches for automatic test generation 33
8.1 Method for supporting test case generation using “Tefkat” from class diagrams in Bridgepoint 33
8.1.1 Tefkat transformation 34
8.1.2 MOF Script 34
8.1.3 An example for MOFScript generation 35
8.1.4 Test Generation Procedure 36
8.1.5 Enhancements 38
8.2 Method for supporting test case generation from sequence diagrams in Bridgepoint 39
8.2.1 Example for test generation using sequence diagram approach 41
42
9. Evaluation Method 44
9.1 The Work Process 44
9.1.1 Initiation (phase 1) 45
9.1.2 Defining goals (phase 2) 45
9.1.3 Data acquisition (phase 3) 45
9.1.4 Analysis (phase 4) 46
9.1.5 Prototype Implementation (phase 5) 46
9.1.6 Closure (phase 6) 46
10. Validity and Reliability 46
11. Analysis 48
12. Related Work 49
13. Results and Conclusions 50
13.1 Recommendations and Future Work 50
14. References 51
[1]Curt Schwaderer , “Pioneering Model Driven Development”, http://www.compactpci-systems.com/dl.php?pdf=/columns/software_corner/pdfs/2006,10.pdf Last Accessed 27.05.2009 51
[2]Reiko Heckel, Marc Lohmann , “Towards Model-Driven Testing” , Electronic Notes in Theoretical Computer Science 82 No. 6 (2003), URL: http://elsevier.nl/locate/entcs/volume82.html Last Accessed 27.05.2009 51
[3]Franck Fleurey, Jim Steel, Benoit Baudry, “Validation In Model-Driven Engineering: Testing Model Transformations” Model, Design and Validation, 2004. Proceedings. 51
[4]Jan Peleska, M. Oliver Moller, “Model-Based Testing For Model-Driven Development With UML 2.0 – Extended Abstract”, http://www.informatik.uni-bremen.de/agbs/jp/papers/moeller-loeding-peleska-sqc-2008.pdf Last Accessed 27.05.2009 51
[5]Marc Born, Ina Schieferdecker, Hans-Gerhard Gross, Pedro Santos, “Model-Driven Development And Testing – A Case Study”, http://modeldrivenarchitecture.esi.es/pdf/paper4-3.pdf Last Accessed 27.05.2009 51
[6]Pierre-Henri , “Top-Down Model-Driven Testing Reduces Risk ”, http://www.Cotsjournalonline.Com/Home/Article.Php?Id=100171 Last Accessed 27.05.2009 51
[7]Joseph Hofstader , “Model-Driven Development”http://Msdn.Microsoft.Com/En-Us/Library/Aa964145.Aspx 51
[8]Michael Azoff, "The Benefits Of Model Driven Development" - White Paper, http://www.Ca.Com/Files/Industryanalystreports/The_Benefits_Of_Model_Driven_Development.Pdf Last Accessed 27.05.2009 51
[9]http://portal.acm.org/toc.cfm?Id=1165093&Coll=GUIDE&Dl=GUIDE&Type=Issue&CFID=15478 233&CFTOKEN=30689758 Last Accessed On 25/11/2008 51
[10]Douglas C. Schmidt , “Model-Driven Engineering”, Published by IEEE Computer society, February 2006 51
[11]IBM Webcast, “A Model Driven Approach To Software Development Of Systems” Last Accessed On 16.12.2008 51
[12]http://Planet-Mde.Org/ , Last Accessed 27.05.2009 51
[13]Tony Clark, Andy Evans, Paul Sammut, James Willans, “Applied Metamodelling - A Foundation For Language Driven Development”, http://lambda-the-ultimate.org/node/2711 Last Accessed 27.05.2009 51
[14]Stephen J. Mellor, Anthony N. Clark, Takao Futagami , “Model-Driven Development” 51
[15] Jean Bézivin , “On The Unification Power Of Models”, http://www.sciences.univ-nantes.fr/lina/atl/www/papers/OnTheUnificationPowerOfModels.pdf Last Accessed 27.05.2009 51
[16]Tommy Lennhamn, “Model Driven Development: Are MDD Models Assets Or Liabilities?”, http://www.ibm.com/developerworks/rational/library/jul07/lennhamn, Last Accessed 27.05.2009 51
[17]International Workshop On Models And Model-Driven Methods For Enterprise Computing (3M4EC), http://www.Inf.Ufes.Br/~Jpalmeida/3m4ec2008 51
[18]Antonio Cicchetti, Davide Di Ruscio, Romina Eramo, Alfonso Pierantonio, “Automating Co-Evolution In Model-Driven Engineering”, 12th international IEEE Entreprise Distributed Object Computing Conference 51
[19]Markus Scheidgen, “Model Patterns For Model Transformations In Model Driven Development” 51
[20]Margarida Afonso, Regis Vogel, Jose Teixeira, “From Code Centric To Model Centric Software Engineering: Practical Case Study Of MDD Infusion In A Systems Integration Company” 51
[21]Cecilia Hasluns, “Model Driven Deve1opment:Integrating Tools With Practices”, Last Accessed 27.05.2009 51
[22]Colin Atkinson, Thomas Kühne, “Model-Driven Development: A Metamodeling Foundation”, http://Homepages.Mcs.Vuw.Ac.Nz/~Tk/Publications/Papers/Mda-Foundation.Pdf Last Accessed 27.05.2009 51
[23]Bran Selic, “The Theory And Practice Of Modeling Language For Model Based Software Engineering”, http://www.aadl.info/aadl/documents/UML_AADL_Comparison.pdf Last Accessed 27.05.2009 51
[24]http://www.Mdh.Se/Ide/Eng/Msc/Index.Php?Choice=Show&Id=0883 Last Accessed On 26/12/2008 51
[25]Composition With Guarantees For High-Integrity Embedded Software Components Assembly (CHESS) Document. 51
[26]Guest Talk Presentation Given At The UML-2003 Conference In San Francisco And Entitled: "MDA™: From Hype To Hope, And Reality" , http://www.sciences.univnantes.fr/info/perso/permanents/bezivin/UML.2003/UML.SF.JB.GT.ppt Last Accessed 27.05.2009 51
[27]Jean Bézivin, “On The Unification Power Of Models”, http://www.sciences.univ-nantes.fr/lina/atl/www/papers/ontheunificationpowerofmodels.pdf Last Accessed 27.05.2009 51
[28]S. R. Dalal, A. Jain, N. Karunanithi, J. M. Leaton, C. M. Lott, G. C. Patton B. M. Horowitz, “ Model-Based Testing In Practice”, http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=841019 Last Accessed 27.05.2009 51
[29] Mark Blackburn, Robert Busser, Aaron Nauman , “Why Model-Based Test Automation Is Different And What You Should Know To Get Started ”, http://www.psqtconference.com/2004east/tracks/Tuesday/PSTT_2004_blackburn.pdf Last Accessed 27.05.2009 51
[30]Pierre-Henri STANEK, “Top-Down Model-Driven Testing Reduces Risk”, IBM Rational Software, http://www.cotsjournalonline.com/home/article.php?id=100171 Last Accessed 27.05.2009 51
[31]“Model-Driven Testing”, http://www.haifa.ibm.com/projectsvVerification/mdt/index.html Last Accessed On 27.05.2009 51
[32]“Model Driven Testing Tutorial At TTCN-3 User Conference”, http://www.conformiq.com/Blog/2007/05/29/Model-Driven-Testing-Tutorial-At-Ttcn-3-User-Conference Last Accessed On 15.01.2009 51
[33]“Model-Based Testing”, http://www.goldpractices.com/practices/mbt/index.php Last Accessed On 27.05.2009 51
[34]Henry Muccini, “Model-Based Testing Principles” 52
[35]“Model Based Testing An Introduction”, http://blogs.msdn.com/Nihitk/Pages/144664.Aspx Last Accessed On 27.05.2009 52
[36]A. Hartman And K. Nagin, “The AGEDIS Tools For Model Based Testing”, IBM Haifa Research Laboratory, http://www.agedis.de/documents/p144-hartman.pdf Last Accessed 27.05.2009 52
[37]Alexander Pretschner1 And Jan Philipps, “Methodological Issues In Model-Based Testing” 52
[38]The AGEDIS Project, “http://www.agedis.de”, Last Accessed On 27.05.2009 52
[39]Scott.W.Ambler, Agile Model Driven Development (AMDD): The Key To Scaling Agile Software Development, http://www.agilemodeling.com/essays/amdd.htm Last Accessed On 27.05.2009 52
[40]“Practical Model Based Testing- A Tools Approach”, Mark Utting, Bruno Legeard. 52
[41]An Evaluation On Model Based Testing At Ericsson, Master Thesis By Jenny Florin 52
[42]Staffan Andersson, Toni Siljamäki, “Performance Benchmarking Of Real Time Critical Function Using Bridgepoint Xtuml” 52
[43]Evaluation Of Model-Based Testing On A Base Station Controller, Master Thesis By Stefan Trimmel 52
[44]David M. Cohen, Siddhartha R. Dalal, Jesse Parelius, and Gardner C. Patton,” “The Combinatorial Design Approach to Automatic Test Generation”, IEEE Software September 1996, pp. 83-87 52
[45]Clementine Nebut, Franck Fleurey, Yves Le Traon, and Jean-Marc Jezequel, “Automatic Test Generation: A Use Case Driven Approach”, IEEE Transcations on software Enginerring, March 2006 52
[46]http://www.mail-archive.com/topcased-mm-users@lists.gforge.enseeiht.fr/msg00871.html last acessed on 27.05.2009 52
[47]http://www.roseindia.net/eclipse/plugins/testing Last Accessed on 27.05.2009 52
[48]http://www.mentor.com/products/sm/model_development/bridgepoint/upload/datasheet.pdf Last Accessed on 27.05.2009 52
[49]Bill Venners,“Design by contract”, http://www.artima.com/intv/contracts.html Last Accessed on 27.05.2009 52
[50]Jim Steel And Michael Lawley, “Model-based test driven development of the tefkat model-transformation engine” 52
[51]T.H. Tse Zhinong Xu, “Test Case Generation for Class-Level Object-Oriented Testing,” 52
[52]Amit Paradkar, “Plannable Test Selection Criteria for FSMs Extracted From Operational Specifications” 52
[53]C. Grandpierre, B. Legeard, F. Peureux , F. Bouquet , “A Test Generation Solution to Automate Software Testing” 52
[54]Bernhard Rumpe, “Model-based Testing of Object-Oriented Systems ” 52
[55]Philip Samuel, Rajib Mall, Pratyush Kanth, “Automatic test case generation from UML communication diagrams” 52
[56]Alexandre David, Paul Pettersson, “ Uppaal Tutorial- Modeling Patterns”, RTSS’05 52