Jiri Ondrusek created CAMEL-18484:
-------------------------------------

             Summary: Camel-xchange: Enable mock testing without neaed of real 
account
                 Key: CAMEL-18484
                 URL: https://issues.apache.org/jira/browse/CAMEL-18484
             Project: Camel
          Issue Type: Test
    Affects Versions: 3.19.0
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


Tests in camel-xchange component are disabled by default (because of the need 
of the real credentials)
{code:java}
@EnabledIfSystemProperty(named = "enable.xchange.itests", matches = "true", 
disabledReason = "Requires API credentials") {code}
It would be much better if the functionality was covered by mocked junit tests. 
(For example wiremock could be used)
 - if _enable.xchange.itests_ is set to {_}true{_}, not-mocked test would be 
used (as before)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to