Practice free →
HomeSoftware TestingSoftware Testingadvanced_security_performance › Property-based testing generates

Property-based testing generates

ARandom graphical pixels for UI tests
BRandom inputs that verify general properties
CHand-written examples for each test case
DRandom delays between actions in scripts
Answer & Solution
Correct answer: B. Random inputs that verify general properties
Property-based testing (QuickCheck, Hypothesis, fast-check) generates many random inputs that conform to a spec and checks invariants. Shrinking reduces failing inputs to minimal examples. Complements example-based unit tests.
Solve this in the app — Software Testing practice & 24k+ MCQs →
Related questions