[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3092))

  • 1707 Accesses

Abstract

This article shows how to use AspectJ to create an Abstract Test Aspect, that makes sure objects respect their basic contracts given by base classes or implemented interfaces. The approach presented is an aspect-oriented alternative to Abstract Test Case.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 35.99
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 44.99
Price includes VAT (United Kingdom)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Anonymous. Java API overview. Sun Developer NEWS, 1(1):10, 11 (Fall 1996)

    Google Scholar 

  2. George, E.: Abstract test cases, http://c2.com/cgi/wiki?AbstractTestCases

  3. Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J.-M., Irwin, J.: Aspect-oriented programming. In: Aksit, M., Matsuoka, S. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 220–242. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  4. Liskov, B.: Data abstraction and hierarchy. In: Proceedings of the ACM Conference on Object-Oriented Programming Systems, Languages, and Applications (December 1987)

    Google Scholar 

  5. Mackinnon, T., Freeman, S., Craig, P.: Endotesting: Unit testing with mockobjects (2000)

    Google Scholar 

  6. Meyer, B.: Applying design by contract. Computer (IEEE) 25(10), 40–51 (1992)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Wenner, R. (2004). Abstract Test Aspect: Testing with AOP. In: Eckstein, J., Baumeister, H. (eds) Extreme Programming and Agile Processes in Software Engineering. XP 2004. Lecture Notes in Computer Science, vol 3092. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24853-8_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24853-8_31

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22137-1

  • Online ISBN: 978-3-540-24853-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics