By definition I run tests in an context other than 'production', so I can't agree with that the way you've expressed it. Maybe you mean something else?
As long as Spring calls your stuff, and your stuff doesn't call Spring (directly), most of the typical Spring annoyances disappear.