taffy icon indicating copy to clipboard operation
taffy copied to clipboard

Supplement generated tests with a fuzzing framework

Open alice-i-cecile opened this issue 3 years ago • 2 comments
trafficstars

  1. The test generating code is broken, and hard to maintain, see #89 and #65.
  2. The automatic tests are massive, resulting in painful renames.
  3. This strategy is extremely hard to apply to alternative layout strategies (#28).
  4. These generated tests aren't even complete, and have failed to catch multiple deviations from the spec.

These should be supplemented with a fuzz testing or property-based testing framework.

alice-i-cecile avatar Jun 10 '22 18:06 alice-i-cecile

Checking for Chrome compliance was a solid idea though, and should be retained in CI.

alice-i-cecile avatar Jun 10 '22 18:06 alice-i-cecile

I re-added (and fixed) the gentest script in #145. I believe it can't be replaced by fuzzing or prop testing, as both those techniques would need a third party flexbox implementation to generate the assertions anyway.

mockersf avatar Jun 11 '22 00:06 mockersf