This project has moved and is read-only. For the latest updates, please go here.

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

May 5, 2014 at 6:11 PM
Edited May 5, 2014 at 6: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.