You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/09 08:48:00 UTC
[jira] [Updated] (CAMEL-18484) Camel-xchange: Enable mock testing without neaed of real account
[ https://issues.apache.org/jira/browse/CAMEL-18484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-18484:
--------------------------------
Fix Version/s: 3.19.0
> 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
> Priority: Major
> Fix For: 3.19.0
>
>
> 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)