Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
Description
The magnolia-mgmt should be able to run unit tests without any AWS credentials (that is without needing to connect to any AWS account).
Now, it's not possible to run magnolia-mgmt test without specifing any AWS credentials ( i.e. AWS_PROFILE_ID env variable), because at least AwsServiceTest.java will check credentials retrieval.
There's a point to make a distintion between unit and integration tests, providing mock services for the former, like in JenkinsServiceTest.java.
Another alternative to @Mock services for AWS is to try localstack
Checklists
Acceptance criteria