Suggestion: Generating random valid xlsx packages for some kind of fuzz testing

May 5, 2014 at 5:11 PM
Edited May 5, 2014 at 5:13 PM
If it were feasible to generate random valid xlsx package files, EPPlus's logic for opening and saving could maybe benefit from having some kind of fuzz testing applied to it with files like this.

One could just open and immediately save the package with EPPlus, then compare the input file's XML directly to the output file's XML.

This recently popped in my mind when I was trying to pin down a very slippery bug with some cells being unformatted after do-nothing roundtripping through EPPlus.