Abstract
When developing applications for enterprise use, testing is an important way to ensure that the completed application performs as expected and fulfills all kinds of requirements (architectural, security, user requirements, and so on). Every time a change is made, you should ensure that the changes that were introduced don’t impact the existing logic. Maintaining an ongoing build and test environment is critical for ensuring high-quality applications. Reproducible tests with high coverage for all your code allow you to deploy new applications and changes to applications with a high level of confidence. In an enterprise development environment, there are many kinds of testing that target each layer within an enterprise application, and each kind of testing has its own characteristics and requirements. In this chapter, we discuss the basic concepts involved in the testing of various application layers, especially in the testing of Spring-powered applications. We also cover the ways in which Spring makes implementing the test cases of various layers easier for developers. Specifically, this chapter covers the following topics
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Another alternative is EasyMock: http://easymock.org/ .
- 2.
This is a quote from the official site.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho
About this chapter
Cite this chapter
Cosmina, I., Harrop, R., Schaefer, C., Ho, C. (2017). Spring Testing. In: Pro Spring 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2808-1_13
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2808-1_13
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2807-4
Online ISBN: 978-1-4842-2808-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)