Make it easier to write functional tests for custom filters by moving the current Repose functional testing framework into its own library. This will still be in the Repose repository.
Ideally, we would clean up the functional test framework before doing this.
Do we test the tests? This will be in a different story.
If we can, we should try to apply the CompileStatic annotation. We may not be able to because of Spock.
- It includes the mocks (e.g. Identity v2).
- Includes a properties files with some default values where possible (test.properties).
- It should have a new name (e.g. default-repose-test.properties) so it won't interfere with the actual file (i.e. repose-test.properties, formerly test.properties) that will override it when running the build (functional test).
- The Repose functional tests start using it.