Skip to main content

Testing Your Spring Application

  • Chapter
  • First Online:
  • 2470 Accesses

Abstract

In this chapter, you are going to start using the Spring Framework Features. So far in previous chapters, you have been using the JUnit test framework, which is fine if you want to do simple testing. Previously, every time you needed to declare the application context’s implementation like the ClassPathXmlApplicationContext class. You did this by calling context = new ClassPathXmlApplicationContext(“META-INF/spring/mydocuments-context.xml”) to load your XML configuration file in order to use the Spring container.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Felipe Gutierrez

About this chapter

Cite this chapter

Gutierrez, F. (2014). Testing Your Spring Application. In: Introducing Spring Framework. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6533-7_7

Download citation

Publish with us

Policies and ethics