Having generators for common testing libraries such as HSpec, Tasty, QuickCheck, Hedgehog et al. makes for a convenient user experience, but it has the issue of making the test build depend on all those libraries, even if they're not used by the end user.
Perhaps this isn't an issue for most people, or perhaps it is?
Options
- Leave it as it is.
- Split into
sinai (batteries-included) and sinai-core. This makes sense on the surface but then fails to provide an option for those who want "just the QuickCheck generators".
- Split into
sinai (no batteries-included) and assorted other packages such as sinai-hspec-quickcheck. This is also awkward due to the need to specify both a spec engine (HSpec or Tasty) and a property testing engine (QuickCheck or Hedgehog) so we end up with quite a lot of packages.
For now I think it's best to leave it as it is and await user feedback should the library become popular.
Having generators for common testing libraries such as
HSpec,Tasty,QuickCheck,Hedgehoget al. makes for a convenient user experience, but it has the issue of making the test build depend on all those libraries, even if they're not used by the end user.Perhaps this isn't an issue for most people, or perhaps it is?
Options
sinai(batteries-included) andsinai-core. This makes sense on the surface but then fails to provide an option for those who want "just theQuickCheckgenerators".sinai(no batteries-included) and assorted other packages such assinai-hspec-quickcheck. This is also awkward due to the need to specify both a spec engine (HSpecorTasty) and a property testing engine (QuickCheckorHedgehog) so we end up with quite a lot of packages.For now I think it's best to leave it as it is and await user feedback should the library become popular.