Moving Beyond Unit Tests — What is a fuzz test? A fuzz test, also called an invariant test, is a test where random inputs are provided to a test and the developer asserts that some property, some invariant, holds true. This is best understood by example. Consider a function that accepts a list as input and returns a reversed list.