Integration Test Using Single Wiremock Server vs Separate TestContainers
I have a Containerized application which uses other containerized apps in environment to consume REST apis.After performing the business logic, it creates file and send it to a remote server using sftp.
Prod Config file looks like this:
app1:
api:
url: http://app1:8090
app2:
api:
url: http://app2:9339
app3:
api:
url: http://app3:8080
remote:
hostname: test.abc.org
port: 22
To create the integration tests, I can think of two options:-
1. Using TestContainer for Each...