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

Swatch-Contracts: Test contract creation via Kafka Messages

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • swatch-contracts
    • None

      After the creation of the test plan for swatch contracts we need to start implementing the tests.

      This card focuses on the tests covering contract creation via Kafka Messages.

      The following tests need to be implemented:

      • contracts-creation-TC001 - Process a valid PAYG contract with one valid dimension for AWS Marketplace
      • contracts-creation-TC002 - Process a valid PURE PAYG contract (without dimensions) for AWS Marketplace
      • contracts-creation-TC003 - Process a valid PAYG contract with one valid dimension for the Azure Marketplace
      • contracts-creation-TC004 - Process a valid PURE PAYG contract (without dimensions) for the Azure Marketplace
      • contracts-creation-TC005 - Process contract with multiple metrics/dimensions
      • contracts-creation-TC006 - Process contract with multiple metrics/dimensions (WITH AN INVALID ONE)
      • contracts-creation-TC007 - Process contract message with missing required fields shouldn’t persist

      Acceptance criteria:

      • All 7 test cases (TC001-TC007) from the test plan are implemented and passing locally and in ephemeral environments.

              Unassigned Unassigned
              rh-ee-gmantzou Georgios Mantzounis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: