Skip to content

Setup and add integration tests - #2043

Open
gcatanese wants to merge 1 commit into
mainfrom
setup-integration-testing
Open

Setup and add integration tests#2043
gcatanese wants to merge 1 commit into
mainfrom
setup-integration-testing

Conversation

@gcatanese

Copy link
Copy Markdown
Contributor

Description
Setup integration tests:

  • define env variabled (api keys, etc..) to inject
  • define base integration testing class
  • create few tests (Checkout, LEM, BCL)
  • add doc

Tests do not run on GitHub, they will be enabled in a different PR.

Tested scenarios
Run all tests locally

@gcatanese
gcatanese requested a review from a team as a code owner August 20, 2026 14:51

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request establishes a dedicated integration testing framework under src/integration-test, introducing Maven profiles, configuration templates, guidelines, and several integration tests for Adyen APIs. It also renames the existing test base class to BaseCloudDeviceIntegrationTest to prevent naming conflicts. The review feedback suggests improving thread safety in BaseIntegrationTest by using ConcurrentHashMap for caching clients, and enhancing robustness in BaseCloudDeviceIntegrationTest by avoiding direct getClassLoader() calls when loading resource streams.

Comment thread src/integration-test/java/com/adyen/BaseIntegrationTest.java
Comment thread src/test/java/com/adyen/BaseCloudDeviceIntegrationTest.java
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant