c-cube / qcheck

QuickCheck inspired property-based testing for OCaml.
https://c-cube.github.io/qcheck/
BSD 2-Clause "Simplified" License
345 stars 37 forks source link

Share some code between QCheck and QCheck2 #246

Open vch9 opened 2 years ago

vch9 commented 2 years ago

Well, Yes, we copied pasted QCheck to QCheck2, but that's be better if we could share few parts of the code. For instance there is the low hanging-fruit Print module that should be the same in both qchecks. In situation like https://github.com/c-cube/qcheck/pull/245 we end up copy-pasting code for no good reason.