-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
At the moment, if one test suite depens on hspec or on a lib, then all test suites will be loaded with their corresponding libs: commercialhaskell/stack#3695
- Loading branch information
Diogo Castro
committed
Dec 22, 2017
1 parent
83913c3
commit eba5370
Showing
11 changed files
with
2,343 additions
and
1,892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Notes | ||
|
||
* in ghci, do `let main = Main.main` > `:main -m etc` to disambiguate between different mains that may be in scope (this happens in HIE) | ||
* in HIE, running the tests a second time results in this: ** Exception: ./test-main.log: openFile: resource busy (file is locked) | ||
for HIE, we'd need `let main = hspec Spec.spec`. this may different on a per-project basis, so put it in configuration? dhall config file? | ||
|
||
* Discovered tests are organized by module name, minus "Spec". I.e., ApplyRefactPluginSpec -> ApplyRefactPlugin | ||
* But NOT non-discovered tests (see `stack ghci --with-ghc intero haskell-ide-engine:test:haskell-ide-func-test haskell-ide-engine:lib`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.