testcontainers-hs icon indicating copy to clipboard operation
testcontainers-hs copied to clipboard

Have two different packages for Hspec and Tasty

Open michivi opened this issue 1 year ago • 3 comments

Question

Would it be possible to have two different packages, one for Hspec and one for Tasty?

Currently, when one chooses to use Hspec (resp. Tasty), they also have to compile Tasty (resp. Hspec) as testcontainers-hs uses both as dependencies. But they won't actually use it.

Perhaps having something like this could help:

  • The testcontainers-hs-core package would have all the definitions required to use testcontainers-hs, whether we're a Hspec user or Tasty user.
  • The testcontainers-hs-hspec package for Hspec users
  • The testcontainers-hs-tasty package for Tasty users

Do you think something like that would be doable? Thanks in any case 🙂

michivi avatar Oct 10 '22 17:10 michivi