Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1056

Improve magnolia-mgmt unit testing in absence of 3rd party services

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    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

        Attachments

          Activity

            People

              Unassigned Unassigned
              roberto.gomez Roberto Gomez
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: