hspec-expectations icon indicating copy to clipboard operation
hspec-expectations copied to clipboard

Add shouldInclude & shouldIncludeAll

Open declension opened this issue 4 years ago • 1 comments

  • Add a new shouldInclude (#38 / #35)
  • Also, a shouldIncludeAll which provides subset-like expectations (generalised to any Foldables), with helpful (hopefully) messaging about missing elements
  • Add some tests around these
  • Replicate a few unexported helper functions, rather than mess with the overall structure (can happily change this)
  • Update Hpack / Cabal

Closes #38

declension avatar Apr 28 '21 21:04 declension

@sol if this is a no-go for you I can do the plan B and create a hspec-extras (as per your comment in #35)

declension avatar Sep 30 '21 12:09 declension