-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
5
-
False
-
-
False
-
subs-swatch-lightning
-
-
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.
- is cloned by
-
SWATCH-4215 Swatch-Contracts: Test contract retrieval
-
- Backlog
-