Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shouldInclude & shouldIncludeAll #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

declension
Copy link

  • Add a new shouldInclude (Add shouldInclude #38 / A few more expectations #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

 * Add a new `shouldInclude` (hspec#38 / hspec#35)
 * Also, a more general `shouldIncludeAll` which tests provides subset-like expectations (generalised to any `Foldable`s), with helpful (hopefully) messaging about missing elements
 * Replicate a few unexported helper functions, rather than mess with the overall structure
 * Add some tests around these
 * Update Hpack / Cabal

Closes hspec#38
 * Add a new `shouldInclude` (hspec#38 / hspec#35)
 * Also, a more general `shouldIncludeAll` which provides subset-like expectations (generalised to any `Foldable`s), 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
 * Update Hpack / Cabal

Closes hspec#38
@declension declension mentioned this pull request Jun 10, 2021
@declension
Copy link
Author

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add shouldInclude
1 participant