oasp / oasp4j

The Open Application Standard Platform for Java
Apache License 2.0
60 stars 303 forks source link

Review test configuration #522

Closed jomora closed 7 years ago

jomora commented 7 years ago

Please refer to #520: We found a problem regarding the test configuration. Changes in ServiceConfig.java did not apply to tests. This ended in the restaurant app being broken at runtime, but working perfectly in subsystem tests (like TablemanagementRestServiceTest). We have to review the test configuration to counter this problem.

Three questions: 1) Is it even possible to configure the test environment equivalently to the production environment 2) If not, what alternative do we have? 3) If yes, is it possible to centralize the configuration for both production and test?

jomora commented 7 years ago

We found out that bad test configuration via Maven stopped subsystem tests from being execute. Please refer to #536. Hence, this issue becomes superfluous