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

Write unit tests for some components in the worker

      Goal: 

      • We need to make sure that our components are tested and validated really well to make sure that nothing will fail during the execution of the worker
      • We also need to improve the pipeline for testing in github, to execute the tests in an automated way
      • It may be a good idea to introduce a container to run the tests both locally and in the pipeline

      Acceptance Criteria:

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Create a container to execute the tests locally in an automated way
      • Create some basic unit tests for the main parts of the worker, like script execution, message communication and etc...
      • Update the test pipeline in github to execute this new container with the tests
      • Add integration with codecov

            awaltlov@redhat.com Andrea Waltlova
            rolivier@redhat.com Rodolfo Olivieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: