4 ms·
Interesting that one of the commits commented on update of the test file that it was for better reproducibility for having been generated by a fixed random seed
by mongol 3y ago
Interesting that one of the commits commented on update of the test file that it was for better reproducibility for having been generated by a fixed random seed (although how goes unmentioned). For the future, random test data better be generated as part of the build, rather than being committed as opaque blobs...
- WhyNotHugo 3y agoI agree on principle, but sometimes programmatic generating test data is not so easy. E.g.: I have a specific JPEG committed into a repository because it triggers a specific issue when reading its metadata. It's not just _random_ data, but specific bogus data. But yeah, if the test blob is purely random, then you can just commit a seed and generate in during tests.