title: Where to instantiate context.xml in Test Environment
body: <p>We are using Spring Framework (XML Version) 4.0.5.RELAESE in our Java project.
  In our application the context.xml is instantiated at the begin of the application start, and provides every properties via dependecy injection.</p>
  
  <p>Now I am wondering what is the best (and commonly used) strategy on where to instantiate it in the test environment. (We have some Unit, Integration and System tests who at least need the databaseBaseConnector bean provided in the context.xml,)</p>
  
  <p>I thought about making an abstract class which every test extends from, but in this case it would be newly instantiated before every test. I would like to a have a solution similiar to the main application, where the context is only instantiated one time, and everything else needed is set via dependency injection.</p>
  
  <p>Researching this topic didn`t help much yet, so I decided to ask the question.</p>