Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2581507.2581515acmotherconferencesArticle/Chapter ViewAbstractPublication PagessugarloafplopConference Proceedingsconference-collections
research-article

A catalogue of stub and driver patterns to support integration testing of aspect-oriented programs

Published: 23 September 2010 Publication History
  • Get Citation Alerts
  • Abstract

    This work presents a pattern collection aiming at supporting the integration testing design of aspect-oriented software. Such patterns provide a reduction in the effort of implementing stubs and drivers required for the integration testing. Furthermore, guidelines to implement these software artifacts are proposed to support the testing of aspect-oriented programs.

    References

    [1]
    Alexander, R. T., Bieman, J. M., and Andrews, A. A. 2004. Towards the systematic testing of aspect-oriented programs. Tech. Rep. CS-4-105, Colorado State University, Fort Collins, Colorado.
    [2]
    Aspectj Team. 2008. The AspectJ programming guide. Online. Accessed in 14/03/2011. http://www.eclipse.org/aspectj/doc/released/progguide/index.html.
    [3]
    Beizer, B. 1984. Software system testing and quality assurance. Van Nostrand Reinhold Co., New York, NY, USA.
    [4]
    Binder, R. V. 1999. Testing object-oriented systems: models, patterns, and tools. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA.
    [5]
    Camargo, V. V. and Masiero, P. C. 2005. Aspect-oriented framework. In Proceedings of the 19th Brazilian Symposium on Software Engineering. SBC Press, Uberlândia -- MG, Brasil, p. 200--215. (in Portuguese).
    [6]
    Ceccato, M., Tonella, P., and Ricca, F. 2005. Is AOP code easier or harder to test than OOP code? In On-line Proceedings of the 1st Workshop on Testing Aspect-Oriented Programs. Chicago, Illinois, USA.
    [7]
    Chavez, C. 2004. Um enfoque baseado em modelos para o design orientado a aspectos. Ph.D. thesis, Pontifical University Catholical, Rio de Janeiro, RJ, Brazil. (in Portuguese).
    [8]
    Cibran, M., D'Hondt, M., and Jonckers, V. 2003. Aspect-oriented programming for connecting business rules. In Proceedings of the 6th International Conference on Business Information Systems. Colorado Springs, USA, p. 1--6.
    [9]
    Colyer, A., Rashid, A., and Blair, G. 2004. On the separation of concerns in program families. Tech. Rep. COMP-001-2004, Lancaster University, Lancaster, Lancashire, UK.
    [10]
    Douence, R., Fradet, P., and Sudholt, M. 2004. Composition, reuse and interaction analysis of stateful aspects. In Proceedings of the 3rd International Conference on Aspect-oriented Software Development. ACM, New York, NY, USA, p. 141--150.
    [11]
    Elrad, T., Filman, R. E., and Bader, A. 2001. Aspect-oriented programming: Introduction. Communications of the ACM 44, p. 29--32.
    [12]
    Filman, R. E. and Friedman, D. P. 2000. Aspect-Oriented Software Development. Addison-Wesley, Boston, Chapter Aspect-Oriented Programming is Quantification and Obliviousness, p. 21--35.
    [13]
    Firesmith, D. G. 1996. Pattern language for testing object-oriented software. Object Magazine 5, 8, p. 32--38.
    [14]
    Fowler, M. 2007. Mocks aren't stubs. Online. Accessed in 14/03/2011. http://martinfowler.com/articles/mocksArentStubs.html.
    [15]
    Kiczales, J. G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., marc Loingtier, J., and Irwin, J. 1997. Aspect-oriented programming. In Proceedings of the 8th European Software Engineering Conference. Springer-Verlag, p. 220--242.
    [16]
    Kienzle, J. and Guerraoui, R. 2002. Aop: Does it make sense? the case of concurrency and failures. In Proceedings of the 16th European Conference on Object-Oriented Programming. Springer-Verlag, London, UK, p. 37--61.
    [17]
    Kienzle, J., Yu, Y., and Xiong, J. 2003. On composition and reuse of aspects. In Proceedings of the 2nd Foundations of Aspect-oriented Languages Workshop at AOSD 2003. p. 17--24.
    [18]
    Lima, G. M. P. and Travassos, G. H. 2004. Testes de integração aplicados a software orientado a objetos: Heurísticas para ordenação de classes. In Proceedings of the 3rd Brazilian Symposium on Software Quality. SBC Press, p. 32--47. (in Portuguese).
    [19]
    Lopes, C. V. and Ngo, T. 2005. Unit testing aspectual behavior. In Proceedings of the 1st Workshop on Testing Aspect-Oriented Programs.
    [20]
    Marick, B. 1995. The craft of software testing: subsystem testing including object-based and object-oriented testing. Prentice-Hall, Inc., Upper Saddle River, NJ, USA.
    [21]
    McGregor, J. D. and Sykes, D. A. 2001. A practical guide to testing object-oriented software. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA.
    [22]
    Overbeck, J. 1994. Integration testing for object-oriented software. Ph.D. thesis, Vienna University of Technology, Vienna, Austria.
    [23]
    Pasternak, B., Tyszberowicz, S., and Yehudai, A. 2008. Genutest: A unit test and mock aspect generation tool. In Hardware and Software: Verification and Testing, K. Yorav, Ed. Lecture Notes in Computer Science Series, vol. 4899. Springer Berlin / Heidelberg, p. 252--266.
    [24]
    Pfleeger, S. L. and Atlee, J. M. 2009. Software Engineering: Theory and Practice 4th Ed. Prentice Hall, Upper Saddle River, NJ, USA.
    [25]
    Ré, R., Domingues, A. L. S., and Masiero, P. C. 2008. Um catálogo de stubs para apoiar o teste de integração de programas orientados a aspectos. In Proceedings of the 22th Brazilian Symposium on Software Engineering. SBC Press. (in Portuguese).
    [26]
    Ré, R. 2009. Uma contribuição para a minimização do número de stubs no teste de integração de programas orientados a aspectos. Ph.D. thesis, University of Sao Paulo, São Carlos, SP, Brazil. (in Portuguese).
    [27]
    Thuy, N. N. 1992. Testability and unit tests in large object-oriented software. In Proceedings of the 5th International Software Quality Week. Software Research Institute, San Francisco.
    [28]
    Yamazaki, Y., Sakurai, K., Matsuura, S., Masuhara, H., Hashiura, H., and Komiya, S. 2005. A unit testing framework for aspects without weaving. In Proceedings of the 1st Workshop on Testing Aspect-Oriented Programs.

    Cited By

    View all
    • (2018)Stubs and Drivers Generator for Object-Oriented Program Testing Using Sequence and Class Diagrams2018 5th International Conference on Computational Science/ Intelligence and Applied Informatics (CSII)10.1109/CSII.2018.00013(32-36)Online publication date: Jul-2018

    Index Terms

    1. A catalogue of stub and driver patterns to support integration testing of aspect-oriented programs

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Other conferences
      SugarLoafPLoP '10: Proceedings of the 8th Latin American Conference on Pattern Languages of Programs
      September 2010
      312 pages
      ISBN:9781450302609
      DOI:10.1145/2581507
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      • Hillside Group: Hillside Group

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 23 September 2010

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. aspect-oriented programming
      2. integration testing
      3. stubs and drivers

      Qualifiers

      • Research-article

      Funding Sources

      • CNPq
      • FAPESP

      Conference

      SugarLoafPLoP '10
      Sponsor:
      • Hillside Group

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)4
      • Downloads (Last 6 weeks)1
      Reflects downloads up to 27 Jul 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2018)Stubs and Drivers Generator for Object-Oriented Program Testing Using Sequence and Class Diagrams2018 5th International Conference on Computational Science/ Intelligence and Applied Informatics (CSII)10.1109/CSII.2018.00013(32-36)Online publication date: Jul-2018

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media