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

Swatch-Contracts: Test contract creation via Internal API

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 Internal API.

        The following tests need to be implemented:

        contracts-creation-TC008 - Create a valid PAYG contract with one valid dimension for AWS marketplace
        contracts-creation-TC009 - Create a valid PURE PAYG contract (without dimensions) for AWS marketplace
        contracts-creation-TC010 - Create a valid PAYG contract with one valid dimension for the Azure marketplace
        contracts-creation-TC011 - Create a valid PURE PAYG contract (without dimensions) for the Azure marketplace
        contracts-creation-TC012 - Create contract with multiple metrics/dimensions
        contracts-creation-TC013 - Create contract with multiple metrics/dimensions (WITH AN INVALID ONE)
        contracts-creation-TC014 - Create contract with missing required fields shouldn't persist

        Acceptance criteria:

        All 7 test cases (TC008-TC014) 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: