Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3996

Move component tests Asserts to the Test Cases

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • subs-swatch-lightning

      To ensure the clarity of all tests cases we want to make sure that assertions are only preformed in the test case itself. This will allow us to have clear failures and clear reporting. 

      Currently the AzureWiremockService is asserting in some of its methods. This can make it harder to trace errors in the code later. We want to update this have it return a boolean and assert that boolean in the tests case. 

      Methods that need to be updated ( so far ): 
      verifyAzureUsage
      verifyNoAzureUsage ( both should return a bool )
       
      Acceptance Criteria 

      • All Azure Component helper methods are updated so only the tests have asserts

              Unassigned Unassigned
              rh-ee-erthomps Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: