Skip to content

Consider Location for Pre-made Generators #5

@Burtannia

Description

@Burtannia

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

  1. Leave it as it is.
  2. 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".
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions