You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2022/09/08 09:11:00 UTC

[jira] [Created] (CAMEL-18484) Camel-xchange: Enable mock testing without neaed of real account

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)