-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Copy link
Labels
Description
Create Layer
Positive Scenarios
- Create Layer with bounded tunables, categorical tunables & mixed tunables (both bounded and categorical)
- Create layer with presence='always'
- Create layer with queries
- Create layer with label
- Create layer with minimum required fields
Negative Scenarios
A. Mandatory fields Missing/NULL/Empty
- Missing metadata
- Null metadata.name
- Empty metadata.name
- Missing layer_name
- Null layer_name
- Empty layer_name
- Missing layer_presence
- Null layer_presence
- Missing tunables
- Null tunables
- Empty tunables array
B. Negative / Duplicate
- Negative layer_level
- Invalid data type for layer_level
- Duplicate tunable names
- Duplicate Layer name (same layer name for 2 layers)
C. Wrong Combination Case
- Empty layer_presence (no type specified)
- Both presence AND queries specified
- Both presence AND label specified
- Both queries AND label specified
- All three types specified (presence, queries, label)
D. Tunable NULL/ZERO/NEGATIVE
- Tunable with null upper_bound
- Tunable with null lower_bound
- Tunable with non-numeric bounds
- Tunable with null step
- Tunable with zero step
- Tunable with negative step
- Tunable with negative upper_bound
- Tunable with negative lower_bound
- Tunable where lower_bound >= upper_bound
- Tunable where step > (upper_bound - lower_bound)
- Categorical tunable with null choices
- Categorical tunable with empty choices array
List Layer
Positive Scenarios
- List all layers when no layer name is added
- List all layers when multiple layers are present
- List specific layer queried by name
- Validated all fields of all layer jsons are present or not and also correct or not
Negative Scenarios
- List specific layer by name (doesn't exist)
- List layers with invalid query parameter
- Layer with special characters in name
Layer Detection
no tests for now
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress