openMF/mifosx — pull request #1024 by vorburger (2014-07-21 21:35:29+00:00)
Title: New SpringConfigurationTest; the first @RunWith(SpringJUnit4ClassRunner)

This is a continuation of / more pragmatic first sub-set proposal in the direction of overall https://github.com/openMF/mifosx/pull/907.

In #906 I've found that there are no real integration tests in Mifos X (running on Travis CI to verify PRs); e.g. I was able to submit a PR which complete broke some Spring XML configuration - and it was still green.

This PR proposes a new SpringConfigurationTest, which completely verifies the Spring XML configuration. It does this by using @RunWith(SpringJUnit4ClassRunner) with @RunWith(SpringJUnit4ClassRunner).

This is just the start, I have some ideas to go further - but this seems valuable enough in it's own right to submit a PR for it. And I'm curious what others think / if anyone has any objections before pushing further ahead.