API Testing · Senior · Question 31 of 75

What does property-based testing add to API test suites?

Show the answer

Correct answer: Many generated inputs checked against invariants

Explanation

Invariants like "creating then reading returns the same data" or "no input causes a 500" find edge cases nobody listed.

Further reading

Problem with a question

API Testing · Senior · question 31

Test yourself

Take the API Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz