Hi all, first post here.

I'm in the process of restructuring our test cases and want to take advantage of some of the features in spring 3.0.5 and junit 4.8.2. Our current application is set up using a PropertyPlaceholderConfigurer which looks at three potential properties files - a master file, an environment specific file (eg. dev, stage. prod) and an overrides file. In order for our PropertyPlaceholderConfigurer to find these files, two system properties must be set before the context is loaded - runtime.env and overrides.

My question is this: can we set system properties before the @ContextConfiguration{location=} gets triggered?

Thanks.