Is it possible to check if tests are compiling with new-repl command while loading the main project?
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I'm not really interested in loading test suite into my repl (only the library) but I'd like to know if I have any errors in my tests (as in "type errors", not actual failed tests) when I reload. Is this (or something similar) possible?
I've tried doing something like `cabal new-repl --enable-tests` in the hopes that my tests will get type checked and compiled in the background but it didn't work.
Contributor guide
Research direction
Start by examining how `cabal new-repl --enable-tests` loads the main project and handles test components. Determine whether the requested behavior is to type-check and compile tests in the background without loading them into the REPL; done should be defined by test type errors being reported during reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100