Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-1333

[poc] think and add a unit test for internal/infrastructure/service/impl/ components

      Goal: 

      • Make possible to do unit test internal/infrastructure/service/impl/ components.

      Acceptance Criteria:

      • Refactor to inject dependencies.
      • A factory function exist to instantiate the components easily.
      • The dependencies can be added as mocks, letting to unit test them easily.

      Additional Notes:

      • If the factory function get too complex, gather the data into a struct and add a builder around it.

       

            Unassigned Unassigned
            avisiedo@redhat.com Alejandro Visiedo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: