haskell / haskell/cabal

repl -b option is missing tests

Open
#11,239 1 comment 0 reactions 0 assignees View on GitHub
attention: pr-welcome type: testing
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

There are quite a few nuances to the `repl -b` option, adding some tests for the feature would be a good first contribution.

1: Does it work in a project context?
2. What happens in a script context?
3. Does it work with multi-repl (I imagine the answer is no)
4. Does -b bring the whole transitive closure of the dependency into scope, or just the specified package?
5. Does the `--no-transitive-deps` option work?

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing repl -b implementation and its test suite. Run the five scenarios described in the issue: project and script contexts, multi-repl, transitive dependencies, and --no-transitive-deps. Done means tests document the observed behavior for each case.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.