...

/

Introduction to Custom Generators

Introduction to Custom Generators

Get introduced to the concept of custom generators and why they are required in cases where default generators fail.

Why use custom generators?

Until now, we have only used default generators in the properties that we have written. If we were to use these tools and techniques only, there is a chance that we could improve our tests by quite a bit. In the previous chapter, we saw how to test an encoder and a decoder with symmetric properties. Say we suspected there was a bug whenever there are more than 255 elements in a map. 255 is a number that could hit the upper limits of what a byte can ...

Access this course and 1400+ top-rated courses and projects.