testcontainers / testcontainers/testcontainers-hs

Have two different packages for Hspec and Tasty

Open
#19 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
78
Forks
24
PR merge metrics
No merged PRs in 30d

Description

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 🙂

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping the package dependencies and the Hspec and Tasty integration points in testcontainers-hs. Define the boundaries for testcontainers-hs-core, testcontainers-hs-hspec, and testcontainers-hs-tasty, then verify that users of either framework no longer compile the other dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.