Analysis and Research on the Automated Generation of Unit Test
|
|
- Lawrence O’Brien’
- 5 years ago
- Views:
Transcription
1 1+, 1 1, 1 (, ) Analysis and Research on the Automated Generation of Unit Test XU Guo-qing 1+, YANG Zong-yuan 1, HUANG Hai-tao 1 1 (Software Engineering Lab, Department of Computer Science, East China Normal University, Shanghai , China) + Corresponding author: , Fax , gqxu_02@cs.ecnu.edu.cn Abstract: Unit testing is a methodology for testing small parts of an application independently of whatever application uses them. It is time consuming and tedious to write unit tests and codes to generate test cases. In addition, it is especially difficult to write unit tests that model the pattern of usage of the application they will be used in. In this paper, we describe two unit test automated generation framework made by Software Engineering Lab of East China Normal University. The first one is called JMLAutoTest, which is built based on the formal predicates. It can generate unit test codes and test cases automatically from the JML specifications of programs. The second one is called JAOUT, which is an Aspect-oriented testing framework. In this framework testers build application-specific Testing Aspects with an Aspect-Oriented Test Description Language (AOTDL) which can be translated into generic aspects of AspectJ. JAOUT then generate unit test oracles from these testing aspects automatically. Key words: Aspect-Oriented Programming, unit test, test oracle, test case generation : JMLAutoTest JAOUT JMLAutoTest JML JAOUT AOTDL Testing Aspects aspects JAOUT AspectJ aspects JAOUT Testing Aspects : : TP311 : A 1 : (1981 ),,,,
2 2 extreme Programming [1] XP Beck Gammer [2] code a little, test a little, code a little and test a little Test Framework Test Oracle Test case 70 [3] [4] Test Oracle Cheon Leavens [4] JML JUnit[5] JML[6] Iowa State University Java BISL Java JML Java Runtime Assertion Checker JML JUnit Java JUnit JUnit JUnit [4] JUnit [4] JMLAutoTest [7] [4] JMLUnit JMLAutoTest Aspect-Oriented [9] crosscutting JAOUT [9] AOTDL Testing Aspect [10] advice Java JUnit JMLAutoTest
3 3 2 JMLAutoTest- JMLAutoTest[7] [4] JML+JUnit JMLAutoTest Iowa State University Gary T. Leavens JML JML JMLAutoTest JML+JUnit JMLAutoTest 2.1 public class LinkedList{ JMLObjectSequence nodes = public Node first; // ; f. createobjects(node.class, protected int length; // new JMLPrimSequence (new int[]{0,1,2),3); // Null. public class Node{ f.add (nodes, null); public int ID; // ID // first // f.set ( first, nodes); public Node pointer; f.set // length ( length, new JMLPrimSequence (1,4)); public JMLObjectSequence makecase_linkedlist(){ // Finization f = f.generate( first, new Finization new String[]{ pointer ); (LinkedList.class) ; return f.getresult(); /** Node [0 1 2] */ Fig.1. Generate the test case space for class LinkedList 1. LinkeddList (Finitization) (Object Validity Checking) (Nonisomorphism) 1 LinkedList JMLAutoTest LinkedList JMLObjectSequence JMLPrimSequence ( Java ) Finitization JMLAutoTest Runtime Assertion Checker 1 JMLAutoTest Finization JMLAutoTest 1 LinkedList length first createobject Node null Node set LinkedList first Node length 1 4 PrimSequence JMLAutoTest Finitization generate Finitization generate 3 generate String f.generate( root,new String[]{ left, right ) [7]
4 4 length 4 JMLAutoTest (Invariant) JML JMLAutoTest JML checkinvariant JML 2.2 JMLAutoTest double-phase testing Operational Profile [7] 2 JMLAutoTest Java M JMLAutoTest JML_M_Test JML_M_TestCase JML_M_TestClient JML_M_Test JUnit JML_M_Test Test case provider JML_M_Client Test Case Provider test client makecase makeoperationalprofile TestRunner runpretest calculate runfinaltest [7] AOTDL Jaout/ Tranlator Testing Aspects translate Java AspectJ Aspects AspectJ in Java programs Arj Weave and Compile Generate Jaout/ Generator Junit test classes JMLAuto- Test Test Case Supply Fig.2. The working sequence of our testing framework 2. Bytecode files Junit test runner Run the test Test Results Fig.3. An Overview of the basic technique 3. JAOUT 3 JAOUT-
5 5 JML Larch Aspect-Oriented [9] crosscutting AOP AOP AOP aspect test oracle AOP aspect (pointcuts) advice aspect Aspect application-specific Aspect [8] aspect Aspect aspect tracing assertion aspect Aspect AOP aspect Testing Aspect. Testing Aspect Testing Aspect test oracle JAOUT [8] 3 JAOUT AOTDL Aspect-Oriented Test Description Language Testing Aspect JAOUT/Tranlator AOTDL Testing Aspect AspectJ aspect AspectJ arj.class JAOUT/Generator Java JUnit JMLAutoTest JAOUT Testing Aspect AOTDL Testing Aspect 4 TempLogic Testing Aspect Stack init pushreached initreached push init init initialized true push isinitialized false before AOTDL advice pointcuts Utility Meaningless Advice Error Advice Aspect advice Meaningless Advice advice Error Advice advice pointcuts Utility Testing Aspect advicetype(arguments): pointcuts: conditions: message conditions message 4 s.getsize()>max! isinitialized init JAOUT/Translator 4 Testing Aspect 5 AspectJ aspect Meaningless Advice advice MeaninglessTestCaseException Error Advice advice TestErrorException Testing Aspect JUnit JMLAutoTest
6 6 TestingAspect TempLogic{ // all pointcuts and other utility advices are declared // in the Utility unit Utility{ protected boolean isinitialized = false; //push is reached pointcut pushreached(stack st): target(st)&&call(void Stack.push(Integer)); //init is reached pointcut initreached(stack st): target(st)&&call(void Stack.init(void)); after(stack st):initreached(st){ isinitialized = true; MeaninglessCase Advice{ //advices for specifying criteria of //meaningless test cases before(stack s): pushreached(s): s.getsize()>=max: Overflow ;... Error Advice{ //advices for specifying criteria of test //errors before(stack s): pushreached(s):!isinitialized: Not Initialized ;... Fig.4. The AOTDL representation of the TempLogic Aspect 4. Templogic Aspect AOTDL public Aspect TempLogic{ // Definitions in Utility unit are not changed protected boolean isinitialized = false; //push is reached pointcut pushreached(stack st): target(st)&&call(void Stack.push(Integer)); //init is reached pointcut initreached(stack st): target(st)&&call(void Stack.init(void)); after(stack st):initreached(st){ isinitialized = true; //meaningless advices before(stack s) throws MeaninglessTestInputException: pushreached(s){ if(s.getsize()>=max){ MeaninglessTestInputException ex= new MeaninglessTestInputException( overflow ); ex.setsource( TempLogic ); //error advices before(stack s)throws TestErrorException: pushreached(s){ if(!isinitialized){ TestErrorException ex =new TestErrorException( Not Initialized ); ex.setsource( TempLogic ); Fig.5. The Translation of TempLogic Testing Aspect 5. TempLogic Aspect aspect 4 JMLAutoTest JUnit JAOUT AOTDL Testing Aspect JAOUT Testing AspectJ aspect AOTDL References: [1] Beck K., Extreme Programming Explained. Addison-Wesley, [2] Beck K. and Gamma E., Test infected: Programmers love writing tests. Java Report, 3(7), July [3] Goodenough J. and Gerhart S., Toward a theory of test data selection. IEEE Transactions on Software Engineering, June [4] Cheon Y. and Leavens G. T., A simple and practical approach to unit testing: The JML and JUnit way, In Proc of 16th European Conference Object-Oriented Programming (ECOOP02), pp , [5] JUnit Website, May [6] G.T.Leavens, A.L.Baker, and C.Ruby. Preliminary design of JML: A behavioral interface specification language for Java. Technical Report TR 98-06i, Department of Computer Science, Iowa State University, June (last revision: Aug 2001). [7] Guoqing Xu. and Zongyuan Yang., JMLAutoTest: A Novel Automated Testing Framework Based on JML and JUnit., In Proc. 3rd IEEE ASE Workshop on Formal Approaches to Testing of Software(FATES 03), pp , Montreal, Canada, Oct.2003., also in LNCS vol.2931, Springer-Verlag, Jan [8] Guoqing Xu, Zongyuan Yang, Haitao Huang, Ling Chen and Fengbin Xu, JAOUT: Automated Generation of Aspect-Oriented Unit Test., Submitted to IEEE Asia-Pacific Software Engineering Conference, May [9] Kiczales G., Lamping J., Mendhekar A., Maeda C., Lopes C., Loingtier J.-M., and Irwin J., Aspect-oriented programming. In Proc. ECOOP'97, LNCS vol. 1241, Springer-Verlag, 1997.
A Novel Approach to Unit Testing: The Aspect-Oriented Way
A Novel Approach to Unit Testing: The Aspect-Oriented Way Guoqing Xu and Zongyuan Yang Software Engineering Lab, Department of Computer Science East China Normal University 3663, North Zhongshan Rd., Shanghai
More informationJMLAutoTest: A Novel Automated Testing Framework Based on JML and JUnit
JMLAutoTest: A Novel Automated Testing Framework Based on JML and JUnit Guoqing Xu and Zongyuang Yang Software Engineering Lab, The Department of Computer Science, East China Normal University 3663 N Zhongshan
More informationBugdel: An Aspect-Oriented Debugging System
Bugdel: An Aspect-Oriented Debugging System Yoshiyuki Usui and Shigeru Chiba Dept. of Mathematical and Computing Sciences Tokyo Institute of Technology 2-12-1-W8-50 Ohkayama, Meguro-ku Tokyo 152-8552,
More informationSpecifying Pointcuts in AspectJ
Specifying Pointcuts in AspectJ Yi Wang Department of Computer Science Shanghai Jiao Tong University 800 Dongchuan Rd, Shanghai, 200240, China yi_wang@sjtu.edu.cn Jianjun Zhao Department of Computer Science
More informationA Unit Testing Framework for Aspects without Weaving
A Unit Testing Framework for Aspects without Weaving Yudai Yamazaki l01104@sic.shibaura-it.ac.jp Kouhei Sakurai sakurai@komiya.ise.shibaura-it.ac.jp Saeko Matsuura matsuura@se.shibaura-it.ac.jp Hidehiko
More informationAssertion with Aspect
Assertion with Aspect Takashi Ishio, Toshihiro Kamiya, Shinji Kusumoto, Katsuro Inoue Graduate School of Engineering Science, PRESTO, Japan Science and Technology Agency Osaka University 1-3 Machikaneyama-cho,
More informationImplementing Producers/Consumers Problem Using Aspect-Oriented Framework
Implementing Producers/Consumers Problem Using Aspect-Oriented Framework 1 Computer Science Department School of Science Bangkok University Bangkok, Thailand netipan@iit.edu Paniti Netinant 1, 2 and Tzilla
More informationUsing Aspects to Make Adaptive Object-Models Adaptable
Using Aspects to Make Adaptive Object-Models Adaptable Ayla Dantas 1, Joseph Yoder 2, Paulo Borba, and Ralph Johnson 1 Software Productivity Group Informatics Center Federal University of Pernambuco Recife,
More informationCanica: An IDE for the Java Modeling Language
Canica: An IDE for the Java Modeling Language Angelica B. Perez, Yoonsik Cheon, and Ann Q. Gates TR #06-36 August 2006 Keywords: Integrated development environment, specification tool, programming tool,
More informationUsing Aspects to Make Adaptive Object-Models Adaptable
Using Aspects to Make Adaptive Object-Models Adaptable Ayla Dantas 1, Joseph Yoder 2, Paulo Borba 1, Ralph Johnson 2 1 Software Productivity Group Informatics Center Federal University of Pernambuco Recife,
More informationAutomatic Generation of Tutorial Systems from Development Specification
Automatic Generation of Tutorial Systems from Development Specification Hajime Iwata 1, Junko Shirogane 2,andYoshiakiFukazawa 1 1 Department of Information and Computer Science, Waseda University, 3-4-1
More informationJMLCUTE: Automated JML-Based Unit Test Case Generation
JMLCUTE: Automated JML-Based Unit Test Case Generation Rafael Baltazar Instituto Superior Tecnico, Lisboa, Portugal, rafael.baltazar@tecnico.ulisboa.pt Abstract. A formal specification is the detailed
More informationJava Modelling Language (JML) References
Java Modelling Language (JML) References G. T. Leavens and Y. Cheon. Design by Contract with JML, August 2005. L. Burdy, Y. Cheon, D. Cok, M. Ernst, J. Kiniry, G. T. Leavens, K. R. M. Leino, and E. Poll.
More informationDetecting Redundant Unit Tests for AspectJ Programs
Detecting Redundant Unit Tests for AspectJ Programs Tao Xie 1 Jianjun Zhao 2 Darko Marinov 3 David Notkin 4 1 North Carolina State University 2 Shanghai Jiaotong University 3 University of Illinois at
More informationProfiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques Ritu Arora, Yu Sun, Zekai Demirezen, Jeff Gray University of Alabama at Birmingham Department of Computer and Information Sciences Birmingham,
More informationDeterministically Executing Concurrent Programs for Testing and Debugging
Deterministically Executing Concurrent Programs for Testing and Debugging Steve MacDonald and Jun Chen David R. Cheriton School of Computer Science University of Waterloo, Waterloo, Ontario, Canada {stevem,
More informationc Copyright 2004, Vinicius Cardoso Garcia, Eduardo Kessler Piveta, Daniel Lucrédio, Alexandre Alvaro, Eduardo Santana de Almeida, Antonio Francisco
c Copyright 2004, Vinicius Cardoso Garcia, Eduardo Kessler Piveta, Daniel Lucrédio, Alexandre Alvaro, Eduardo Santana de Almeida, Antonio Francisco do Prado, Luiz Carlos Zancanella. Permission is granted
More informationTowards Regression Test Selection for AspectJ Programs
Towards Regression Test Selection for AspectJ Programs Jianjun Zhao Department of Computer Science and Engineering Shanghai Jiao Tong University 800 Dongchuan Road, Shanghai 200240, China zhao-jj@cs.sjtu.edu.cn
More informationDynamic Weaving for Building Reconfigurable Software Systems
Dynamic Weaving for Building Reconfigurable Software Systems JAGDISH LAKHANI lakhjag@iitedu Computer Science Dept Illinois Institute of Technology Chicago, IL 60616 FAISAL AKKAWI akkawif@iitedu Computer
More informationAnalysing the navigational aspect
A. M. Reina Dpto. Lenguajes y Sistemas Informáticos Universidad de Sevilla. e-mail: reinaqu@lsi.us.es Analysing the navigational aspect J. Torres Dpto. Lenguajes y Sistemas Informáticos Universidad de
More informationJosh. Java. AspectJ weave. 2 AspectJ. Josh Javassist[1] Javassist Java. AspectJ[3, 4] Java. AspectJ. weave. weave. weave. weave. weaver 1.
Josh Java Aspect Weaver weaver 1 AspectJ Java AspectJ Java weave AspectJ weave Josh weave Javassist weave 1 weaver 1 AspectJ[3, 4] 1 Java AspectJ Java weave Java AspectJ weave Josh Josh Java weave weave
More informationAspect-oriented Response Injection: an Alternative to Classical Mutation Testing
Aspect-oriented Response Injection: an Alternative to Classical Mutation Testing Bartosz Bogacki, Bartosz Walter Institute of Computing Science, Pozna University of Technology, Poland {Bartosz Bogacki,
More informationDynamic Instantiation-Checking Components
Dynamic Instantiation-Checking Components Nigamanth Sridhar Electrical and Computer Engineering Cleveland State University 318 Stilwell Hall, 2121 Euclid Ave Cleveland OH 44113 n.sridhar1@csuohio.edu ABSTRACT
More informationAn Aspect-Oriented Approach to Modular Behavioral Specification
Electronic Notes in Theoretical Computer Science 163 (2006) 45 56 www.elsevier.com/locate/entcs An Aspect-Oriented Approach to Modular Behavioral Specification Kiyoshi Yamada 1 Research Center for Information
More informationAPPLYING OBJECT-ORIENTATION AND ASPECT-ORIENTATION IN TEACHING DOMAIN-SPECIFIC LANGUAGE IMPLEMENTATION *
APPLYING OBJECT-ORIENTATION AND ASPECT-ORIENTATION IN TEACHING DOMAIN-SPECIFIC LANGUAGE IMPLEMENTATION * Xiaoqing Wu, Barrett Bryant and Jeff Gray Department of Computer and Information Sciences The University
More informationDynamic Weaving for Building Reconfigurable Software Systems
Dynamic Weaving for Building Reconfigurable Software Systems FAISAL AKKAWI Akkawi@cs.iit.edu Computer Science Dept. Illinois Institute of Technology Chicago, IL 60616 ATEF BADER abader@lucent.com Lucent
More informationJartege : a Tool for Random Generation of Unit Tests for Java Classes
Jartege : a Tool for Random Generation of Unit Tests for Java Classes Catherine Oriat /IMAG, Grenoble, France (presented by Yves Ledru) 1 SOQUA 05, Erfurt, Germany, Sep. 22nd 2005 The need for automatic
More informationThe JML Tool. Faculty of Engineering Pontificia Universidad Javeriana. The JML Tool p.1/23
The JML Tool Néstor Cataño ncatano@puj.edu.co Faculty of Engineering Pontificia Universidad Javeriana The JML Tool p.1/23 Tools for JML 1. Parsing and type-checking 2. Checking assertions at runtime 3.
More informationImproving Software Modularity using AOP
B Vasundhara 1 & KV Chalapati Rao 2 1 Dept. of Computer Science, AMS School of Informatics, Hyderabad, India 2 CVR College of Engineering, Ibrahimpatnam, India E-mail : vasu_venki@yahoo.com 1, chalapatiraokv@gmail.com
More informationCharacteristics of Runtime Program Evolution
Characteristics of Runtime Program Evolution Mario Pukall and Martin Kuhlemann School of Computer Science, University of Magdeburg, Germany {pukall, kuhlemann}@iti.cs.uni-magdeburg.de Abstract. Applying
More informationAn Aspect-Oriented Approach. Henrique Rebêlo Informatics Center
An Aspect-Oriented Approach to implement JML Features Henrique Rebêlo Informatics Center Federal University of Pernambuco Summary jmlc problems bigger code, slower code, no suppport for Java ME, and bad
More informationUML4COP: UML-based DSML for Context-Aware Systems
UML4COP: UML-based DSML for Context-Aware Systems Naoyasu Ubayashi Kyushu University ubayashi@acm.org Yasutaka Kamei Kyushu University kamei@ait.kyushu-u.ac.jp Abstract Context-awareness plays an important
More informationAspect-Oriented Generation of the API Documentation for AspectJ
Aspect-Oriented Generation of the API Documentation for AspectJ Michihiro Horie Tokyo Institute of Technology 2-12-1 Ohkayama, Meguro-ku, Tokyo 152-8552, Japan www.csg.is.titech.ac.jp/ horie Shigeru Chiba
More informationOn the Impact of Aspect-Oriented Programming on Object-Oriented Metrics
On the Impact of Aspect-Oriented Programming on Object-Oriented Metrics Jean-Yves Guyomarc h and Yann-Gaël Guéhéneuc GEODES - Group of Open and Distributed Systems, Experimental Software Engineering Department
More informationAJAX: Automating an Informal Formal Method for Systematic JUnit Test Suite Generation
AJAX: Automating an Informal Formal Method for Systematic JUnit Test Suite Generation David Stotts Dept. of Computer Science Univ. of North Carolina at Chapel Hill stotts@cs.unc.edu Abstract The JUnit
More informationTEST FRAMEWORKS FOR ELUSIVE BUG TESTING
TEST FRAMEWORKS FOR ELUSIVE BUG TESTING W.E. Howden CSE, University of California at San Diego, La Jolla, CA, 92093, USA howden@cse.ucsd.edu Cliff Rhyne Intuit Software Corporation, 6220 Greenwich D.,
More informationJML and Aspects: The Benefits of
JML and Aspects: The Benefits of Instrumenting JML Features with AspectJ Henrique Rebêlo Sérgio Soares Ricardo Lima Paulo Borba Márcio Cornélio Java Modeling Language Formal specification language for
More informationTowards Model-Driven Unit Testing
Towards Model-Driven Unit Testing Gregor Engels 1,2, Baris Güldali 1, and Marc Lohmann 2 1 Software Quality Lab 2 Department of Computer Science University of Paderborn, Warburgerstr. 100, 33098 Paderborn,
More informationLearning from Components: Fitting AOP for System Software
Learning from Components: Fitting AOP for System Software Andreas Gal, Michael Franz Department of Computer Science University of California, Irvine Irvine, CA 92697-3425, USA {gal,franz@uci.edu Danilo
More informationA Formal Monitoring-based Framework for Software Development and Analysis
A Formal Monitoring-based Framework for Software Development and Analysis Feng Chen, Marcelo D Amorim, and Grigore Roşu Department of Computer Science University of Illinois at Urbana - Champaign, USA
More informationAOP Tutorial. Written By: Muhammad Asif. Department of Computer Science, Virtual University of Pakistan
AOP Tutorial Written By: Muhammad Asif. Department of Computer Science, Virtual University of Pakistan Table of Contents 1.0 INTRODUCTION... 3 2.0 SCOPE AND OBJECTIVE... 4 3.0 MOTIVATION... 5 4.0 HISTORY...
More informationAn Analysis of Aspect Composition Problems
An Analysis of Aspect Composition Problems Wilke Havinga havingaw@cs.utwente.nl Istvan Nagy nagyist@cs.utwente.nl TRESE/Software Engineering group University of Twente, The Netherlands Lodewijk Bergmans
More informationPattern Transformation for Two-Dimensional Separation of Concerns
Transformation for Two-Dimensional Separation of Concerns Xiaoqing Wu, Barrett R. Bryant and Jeff Gray Department of Computer and Information Sciences The University of Alabama at Birmingham Birmingham,
More informationAddistant. Java. Addistant
AOP Addistant Addistant 2 Addistant Java JVM Addistant 2 join point 1 crosscutting concerns AOP [2] Addistant[1] Tokyo Institute of Technology, Faculity of Science Doctral Program in Engineering, University
More informationAspect-Oriented Programming for Guided Testing. SiyuanLiua, Yang Yangb
4th International Conference on Sensors, Measurement and Intelligent Materials (ICSMIM 2015) Aspect-Oriented Programming for Guided Testing SiyuanLiua, Yang Yangb Power Construction Corporation of China,
More informationAPTE: Automated Pointcut Testing for AspectJ Programs
APTE: Automated Pointcut Testing for AspectJ Programs Prasanth Anbalagan Department of Computer Science North Carolina State University Raleigh, NC 27695 panbala@ncsu.edu Tao Xie Department of Computer
More informationOn Aspect-Orientation in Distributed Real-time Dependable Systems
On Aspect-Orientation in Distributed Real-time Dependable Systems Andreas Gal, Wolfgang Schröder-Preikschat, and Olaf Spinczyk University of Magdeburg Universitätsplatz 2 39106 Magdeburg, Germany gal,wosch,olaf
More informationAdding Contracts to C#
Adding Contracts to C# Peter Lagace ABSTRACT Design by contract is a software engineering technique used to promote software reliability. In order to use design by contract the selected programming language
More informationFlota: A Programmer Assistant for Locating Faulty Changes in AspectJ Software Evolution
Flota: A Programmer Assistant for Locating Faulty Changes in AspectJ Software Evolution Sai Zhang, Zhongxian Gu, Yu Lin, Jianjun Zhao School of Software Shanghai Jiao Tong University 800 Dongchuan Road,
More informationJava A Prototype Dynamic Diversity for Protecting Java Software
Copyright c The Institute of Electronics, Information and Communication Engineers SCIS 2012 The 29th Symposium on Cryptography and Information Security Kanazawa, Japan, Jan. 30 - Feb. 2, 2012 The Institute
More informationJML tool-supported specification for Java Erik Poll Radboud University Nijmegen
JML tool-supported specification for Java Erik Poll Radboud University Nijmegen Erik Poll - JML p.1/41 Overview The specification language JML Tools for JML, in particular runtime assertion checking using
More informationTest Driven Development with Oracles and Formal Specifications
Test Driven Development with Oracles and Formal Specifications Shadi Alawneh and Dennis Peters Faculty of Engineering and Applied Science Memorial University, St.John s, NL Canada A1B 3X5 {shadi.alawneh,dpeters}@mun.ca
More informationJML. Java Modeling Language
JML Java Modeling Language Overview About the JML Project DBC Design By Contract JML concepts, examples, syntax and capabilities Basics Exceptions Invariants Assertions Quantifiers Other keywords JML hiding
More informationJML and Aspects: The Benefits of Instrumenting JML Features with AspectJ
JML and Aspects: The Benefits of Instrumenting JML Features with AspectJ Henrique Rebêlo Sérgio Soares Department of Computing and Systems University of Pernambuco Recife, Pernambuco, Brazil {hemr,sergio@dsc.upe.br
More informationApplying Aspect Oriented Programming on Security
Original Article Applying Aspect Oriented Programming on Security Mohammad Khalid Pandit* 1, Azra Nazir 1 and Arutselvan M 2 1 Department of computer Science and engineering, National institute of technology
More informationInner Oracles: Input- Specific Assertions on Internal States
Inner Oracles: Input- Specific Assertions on Internal States Yingfei Xiong, Dan Hao, Lu Zhang, Tao Zhu, Muyao Zhu, Tian Lan Peking University, China 2015 How a Test Detects a Bug Test Input Trigger a Bug
More informationCScheme in Traditional Concurrency Problems
CScheme in Traditional Concurrency Problems Nathar Shah and Visham Cheerkoot Abstract CScheme, a concurrent programming paradigm based on scheme concept enables concurrency schemes to be constructed from
More informationAn automatic test data generation from UML state diagram using genetic algorithm.
An automatic test data generation from UML state diagram using genetic algorithm. Item Type Conference paper Authors Doungsa-ard, Chartchai; Dahal, Keshav P.; Hossain, M. Alamgir; Suwannasart, T. Citation
More informationOn the Interplay of Exception Handling and Design by Contract: An Aspect-Oriented Recovery Approach
On the Interplay of Exception Handling and Design by Contract: An Aspect-Oriented Recovery Approach Henrique Rebêlo, Roberta Coelho, Ricardo Lima, Gary T. Leavens, Marieke Huisman, Alexandre Mota, and
More informationAn Aspect-Based Approach to Modeling Security Concerns
An Aspect-Based Approach to Modeling Security Concerns Geri Georg Agilent Laboratories, Agilent Technologies, Fort Collins, USA geri_georg@agilent.com Robert France, Indrakshi Ray Department of Computer
More informationASPECTIX: A QUALITY-AWARE, OBJECT-BASED MIDDLEWARE ARCHITECTURE
ASPECTIX: A QUALITY-AWARE, OBJECT-BASED MIDDLEWARE ARCHITECTURE Franz J. Hauck, Ulrich Becker, Martin Geier, Erich Meier, Uwe Rastofer, Martin Steckermeier Informatik 4, University of Erlangen-Nürnberg,
More informationAutomated Random Testing to Detect Specification-Code Inconsistencies
Automated Random Testing to Detect Specification-Code Inconsistencies Yoonsik Cheon TR #07-07 February 2007; revised March 2007 Keywords: random testing, test data generator, test oracle, pre and postconditions,
More informationExploiting Synergy Between Testing and Inferred Partial Specifications
Exploiting Synergy Between Testing and Inferred Partial Specifications Tao Xie David Notkin Department of Computer Science & Engineering, University of Washington {taoxie, notkin}@cs.washington.edu Technical
More informationFormal Specification and Verification
Formal Specification and Verification Formal Specification, Part III Bernhard Beckert Adaptation of slides by Wolfgang Ahrendt Chalmers University, Gothenburg, Sweden Formal Specification and Verification:
More informationJava Bytecode Specification and Verification
Java Bytecode Specification and Verification Lilian Burdy INRIA Sophia-Antipolis 2004, Route des Lucioles, BP 93, 06902 Sophia-Antipolis, France Lilian.Burdy@sophia.inria.fr Mariela Pavlova INRIA Sophia-Antipolis
More informationProgramming AspectJ with Eclipse and AJDT, By Example. Chien-Tsun Chen Sep. 21, 2003
Programming AspectJ with Eclipse and AJDT, By Example Chien-Tsun Chen Sep. 21, 2003 ctchen@ctchen.idv.tw References R. Laddad, I want my AOP!, Part 1-Part3, JavaWorld, 2002. R. Laddad, AspectJ in Action,
More informationImplementing Software Connectors through First-Class Methods
Implementing Software Connectors through First-Class Methods Cheoljoo Jeong and Sangduck Lee Computer & Software Technology Laboratory Electronics and Telecommunications Research Institute Taejon, 305-350,
More informationFormal Methods for Java
Formal Methods for Java Lecture 6: Introduction to JML Jochen Hoenicke Software Engineering Albert-Ludwigs-University Freiburg May 15, 2017 Jochen Hoenicke (Software Engineering) Formal Methods for Java
More informationA Framework for Customisable Schema Evolution in Object-Oriented Databases
A Framework for Customisable Schema Evolution in Object-Oriented Databases Awais Rashid Computing Department, Lancaster University, Lancaster LA1 4YR, UK awais@comp.lancs.ac.uk Abstract This paper describes
More informationModeling the Evolution of Aspect Configurations using Model Transformations
Modeling the Evolution of Aspect Configurations using Model Transformations Uwe Zdun, Mark Strembeck Institute of Information Systems, New Media Lab Vienna University of Economics, Austria {uwe.zdun mark.strembeck}@wu-wien.ac.at
More informationBeyond Aspect-Oriented Programming: Toward Naturalistic Programming
Beyond Aspect-Oriented Programming: Toward Naturalistic Programming Cristina Videira Lopes Institute for Software Research and University of California, Irvine Outline AOP and AspectJ The problem and the
More informationA Simple and Practical Approach to Unit Testing: The JML and JUnit Way
Computer Science Technical Reports Computer Science 9-2003 A Simple and Practical Approach to Unit Testing: The JML and JUnit Way Yoonsik Cheon Iowa State University Gary T. Leavens Iowa State University
More informationA Proposal For Classifying Tangled Code
A Proposal For Classifying Tangled Code Stefan Hanenberg and Rainer Unland Institute for Computer Science University of Essen, 45117 Essen, Germany {shanenbe, unlandr@csuni-essende Abstract A lot of different
More informationSMEDL: Combining Synchronous and Asynchronous Monitoring
University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science 9-2016 SMEDL: Combining Synchronous and Asynchronous Monitoring Teng Zhang University
More informationEffective and Efficient Runtime Assertion Checking for JML Through Strong Validity
Effective and Efficient Runtime Assertion Checking for JML Through Strong Validity Frederic Rioux and Patrice Chalin Dependable Software Research Group, Dept. of Computer Science and Software Engineering,
More informationA Thought on Specification Reflection
A Thought on Specification Reflection Yoonsik Cheon, Yoshiki Hayashi Department of Computer Science, University of Texas at El Paso El Paso, Texas 79912 USA cheon@cs.utep.edu Gary T. Leavens Department
More informationUniversity of Huddersfield Repository
University of Huddersfield Repository Ghareb, Mazen and Allen, Gary Improving the Design and Implementation of Software Systems uses Aspect Oriented Programming Original Citation Ghareb, Mazen and Allen,
More informationAspectJ [6] Figure 2: dflow[x, y](q) [8] 1. (q) 6 print. lookup. (p) ) print. p && dflow[x, y](q) lookup p. AspectJ dflow. Java. 2 dflow.
AspectJ dflow Java dflow dflow AspectJ Java dflow 1 before(string x) : call(void Strm.print(String)) && args(x) && dflow[x, String y] [7] ( call(string Db.lookup(String)) && returns(y) ){ log.info(thisjoinpoint
More informationSeparation of Concerns
Separation of Concerns Erik Ernst Dept. of Computer Science, University of Aarhus, Denmark eernst@daimi.au.dk Abstract. Separation of concerns is a crucial concept in discussions about software engineering
More informationAspect-Oriented Programming On Lisp
6 th International Conference on Applied Informatics Eger, Hungary, January 27 31, 2004. Aspect-Oriented Programming On Lisp Miklós Espák Department of Information Technology, University of Debrecen e-mail:
More informationMartin P. Robillard and Gail C. Murphy. University of British Columbia. November, 1999
Migrating a Static Analysis Tool to AspectJ TM Martin P. Robillard and Gail C. Murphy Department of Computer Science University of British Columbia 201-2366 Main Mall Vancouver BC Canada V6T 1Z4 fmrobilla,murphyg@cs.ubc.ca
More informationA Simple and Practical Approach to Unit Testing: The JML and JUnit Way
A Simple and Practical Approach to Unit Testing: The JML and JUnit Way Yoonsik Cheon and Gary T. Leavens TR #01-12a November 2001, revised March 2002 Keywords: Unit testing, automatic test oracle generation,
More informationExtracting and Evolving Mobile Games Product Lines
Extracting and Evolving Mobile Games Product Lines Vander Alves, Pedro Matos Jr., Leonardo Cole, Paulo Borba, and Geber Ramalho Informatics Center, Federal University of Pernambuco P.O. Box 7851-50.732-970
More informationJava Modeling Language (JML)
CIS 771: Software Specifications Introduction to JML Java Modeling Language (JML) A behavioral interface specification language for Java supporting design-by-contract (DBC)... invented by Gary T. Leavens
More informationSort-based Refactoring of Crosscutting Concerns to Aspects
Sort-based Refactoring of Crosscutting Concerns to Aspects Robin van der Rijst Delft University of Technology rvdrijst@gmail.com Marius Marin Accenture Marius.Marin@accenture.com Arie van Deursen Delft
More informationSERG. Sort-based Refactoring of Crosscutting Concerns to Aspects
Delft University of Technology Software Engineering Research Group Technical Report Series Sort-based Refactoring of Crosscutting Concerns to Aspects Robin van der Rijst, Marius Marin, and Arie van Deursen
More informationStudy of Perfective Maintainability for Component-based software systems using Aspect-Oriented-Programming Techniques
Study of Perfective Maintainability for Component-based software systems using Aspect-Oriented-Programming Techniques JyothiRandDr.V.K. Agrawal Abstract As Maintainability plays a very important role in
More informationThe JML and JUnit Way of Unit Testing and its Implementation
Computer Science Technical Reports Computer Science 2-2004 The JML and JUnit Way of Unit Testing and its Implementation Gary T. Leavens Iowa State University Yoonsik Cheon Iowa State University Follow
More informationSeparation of Navigation Routing Code in J2EE Web Applications
Separation of Navigation Routing Code in J2EE Web Applications Minmin Han and Christine Hofmeister Computer Science and Engineering Dept, Lehigh University 19 Memorial Dr. W., Bethlehem, PA 18015, USA
More informationTest automation / JUnit. Building automatically repeatable test suites
Test automation / JUnit Building automatically repeatable test suites Test automation n Test automation is software that automates any aspect of testing n Generating test inputs and expected results n
More informationTest automation Test automation / JUnit
Test automation Test automation / JUnit Building automatically repeatable test suites Test automation is software that automates any aspect of testing Generating test inputs and expected results Running
More informationUsing AOP to build complex data centric component frameworks
Using AOP to build complex data centric component frameworks Tom Mahieu, Bart Vanhaute, Karel De Vlaminck, Gerda Janssens, Wouter Joosen Katholieke Universiteit Leuven Computer Science Dept. - Distrinet
More informationVerifying JML specifications with model fields
Verifying JML specifications with model fields Cees-Bart Breunesse and Erik Poll Department of Computer Science, University of Nijmegen Abstract. The specification language JML (Java Modeling Language)
More informationAspects and Soar: A Behavior Development Model. Jacob Crossman
Aspects and Soar: A Behavior Development Model Jacob Crossman jcrossman@soartech.com Motivation: Why is Soar Useful? Soar Systems are often complex Often require multiple processes Are built of hundreds/thousands
More informationCourse 6 7 November Adrian Iftene
Course 6 7 November 2016 Adrian Iftene adiftene@info.uaic.ro 1 Recapitulation course 5 BPMN AOP AOP Cross cutting concerns pointcuts advice AspectJ Examples In C#: NKalore 2 BPMN Elements Examples AOP
More informationA State-Based Approach to Testing Aspect-Oriented Programs
A State-Based Approach to Testing Aspect-Oriented Programs Dianxiang Xu, Weifeng Xu, and Kendall Nygard Department of Computer Science North Dakota State University Fargo, ND 58105, USA {dianxiang.xu,
More informationUnit-Testing Aspectual Behavior
Unit-Testing Aspectual Behavior [Position Paper] Cristina Videira Lopes and Trung Chi Ngo Donald Bren School of Information and Computer Sciences University of California, Irvine Irvine, CA 92697 {lopes,trungcn}@ics.uci.edu
More informationJarcler: Aspect-Oriented Middleware for Distributed Software in Java
Jarcler: Aspect-Oriented Middleware for Distributed Software in Java Muga Nishizawa Shigeru Chiba Dept. of Mathematical and Computing Sciences Tokyo Institute of Technology Email: {muga,chiba@csg.is.titech.ac.jp
More informationTool Support for Test-Driven Development Using Formal Specifications
Tool Support for Test-Driven Development Using Formal Specifications Shadi Alawneh and Dennis Peters Electrical and Computer Engineering Faculty of Engineering and Applied Science Memorial University {shadi.alawneh,
More informationBibliography. [Baldwin 01] Baldwin, D., Gries, D., Henderson, P., Marion, B., Schwartz, D. Panel:
Bibliography [Baber 97] Baber, R. L., The Ariane 5 Explosion: A Software Engineer s View, Technical Report, Computer Science, University of the Witwatersrand, South Africa, February 1997; http://www.cs.wits.ac.za/ariane5.htm.
More information