Skip to content

Drop tasty-hspec dependency#121

Merged
gromakovsky merged 2 commits intomasterfrom
gromak/drop-tasty-hspec
Jun 14, 2021
Merged

Drop tasty-hspec dependency#121
gromakovsky merged 2 commits intomasterfrom
gromak/drop-tasty-hspec

Conversation

@gromakovsky
Copy link
Member

@gromakovsky gromakovsky commented Jun 14, 2021

Problem: we write some tests using hspec and then convert them to
tasty trees using tasty-hspec. This conversion is not necessary,
but causes extra dependencies to be added to one test-suite.
Moreover, sometimes it's not 100% precise.

Solution: remove this dependency and group tests into trees ourselves.
It doesn't add any overhead, we are just using a slightly different
syntax.
We don't transitively depend on hspec anymore, but we need
hspec-expectations as a replacement to use things like shouldThrow.

Resolves #120

Problem: we write some tests using `hspec` and then convert them to
tasty trees using `tasty-hspec`. This conversion is not necessary,
but causes extra dependencies to be added to one test-suite.
Moreover, sometimes it's not 100% precise.

Solution: remove this dependency and group tests into trees ourselves.
It doesn't add any overhead, we are just using a slightly different
syntax.
We don't transitively depend on `hspec` anymore, but we need
`hspec-expectations` as a replacement to use things like `shouldThrow`.
@gromakovsky gromakovsky merged commit cf05298 into master Jun 14, 2021
@delete-merged-branch delete-merged-branch bot deleted the gromak/drop-tasty-hspec branch June 14, 2021 07:58
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.

support tasty-hspec-1.2

1 participant