Abstract
Two key aspects of eXtreme Programming are automated testing and frequent refactoring. But is refactoring the best way to arrive at a set of tests that are both sufficient and maintainable? This paper builds on previously cataloged test smells, classifies these smells into two broad categories and introduces principles (or goals) for test automation. It also provides the start of a generative pattern language that helps guide the construction of automated tests that should not require extensive refactoring.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Appleton, B.: Generative Patterns, Available on-line at http://www.cmcrossroads.com/bradapp/docs/patterns-intro.html#GenerativePatterns
Cunningham, W.: FIT: Functional Integrated Test, Available on-line at http://fit.c2.com
Fowler, M.: Refactoring: Improving the Design of Existing Code. Addison-Wesley, Reading (1999)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1995)
Mackinnon, T., Freeman, S., Craig, P.: Endo-Testing: Unit Testing with Mock Objects. In: The First International Conference on eXtreme Programming and Agile Processes in Software Engineering (2000); Collected In: Succi, G., Marchesi, M., (eds.): Extreme Programming Examined. Addison-Wesley, Reading (2001)
Moore, I.: Jester – A JUnit Test Tester. In: The Second International Conference on eXtreme Programming and Agile Processes in Software Engineering (2001)
Smith, S.M., Meszaros, G.: Increasing the Effectiveness of Automated Testing. In: The Second International Conference on eXtreme Programming and Agile Processes in Software Engineering (2001); Collected in: Marchesi, M., Succi, G., Wells, D., Williams, L. (eds.): Extreme Programming Perspectives. Addison-Wesley, Reading (2002)
van Deursen, A., Moonen, L., van den Bergh, A., Kok, G.: Refactoring Test Code. In: The Second International Conference on eXtreme Programming and Agile Processes in Software Engineering (2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Meszaros, G., Smith, S.M., Andrea, J. (2003). The Test Automation Manifesto. In: Maurer, F., Wells, D. (eds) Extreme Programming and Agile Methods - XP/Agile Universe 2003. XP/Agile Universe 2003. Lecture Notes in Computer Science, vol 2753. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45122-8_9
Download citation
DOI: https://doi.org/10.1007/978-3-540-45122-8_9
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40662-4
Online ISBN: 978-3-540-45122-8
eBook Packages: Springer Book Archive