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