Slide 24
Slide 24 text
© 2025 All Rights Reserved
Why 77 tests for POST /products ??
Fields Data Type Required Constraints Values
name string Yes - -
type string Yes Enum book, food, gadget & others
inventory number Yes min & max min = 1 & max = 101
Positive Variations Negative Variations Variation Count
string int, bool, null 4
4 enum values int, bool, null 7
1, 1