June 2017
Intermediate to advanced
400 pages
10h 32m
English
This recipe will explore fuzzing and how it can be used to help validate functions. In the Currency conversions and float64 considerations recipe from Chapter 3, Data Conversion and Composition, we created a function that takes decimal US currency as a string and returns an int64 version representing cents. We'll modify that function and demonstrate finding a panic with fuzzing.
Read now
Unlock full access