Track 13 · Lesson 5 of 12
Thinking in edge cases
Find the inputs that break code: boundaries, empty and single values, zero and negatives, messy text, unicode and very large values.
You will be able to
- List the standard edge cases to consider for numbers, collections and text
- Split inputs into equivalence classes and test one value from each
- Test boundaries at, just below and just above each limit
- Fix code so it handles empty, oversized and invalid inputs deliberately
Included with a Formula Quest membership
It has 3 graded exercises with feedback, hints and solutions. Python Quest is included in Formula Quest memberships that cover Python; membership and billing are managed on Formula Quest.
View Formula Quest memberships
Tracks 1 and 2, the first lesson of every track, the playground and the dataset library are free.