-
I see there are options in `SessionConfig` to enable logging of stderr or protocol messages. But I would like my test script to show these things only if
- the server crashes, or
- lsp-test is un…
-
As reported elsewhere, `setup test` sometimes loses test output. This is in addition to the problem of mangling test output.
I propose to solve this issue by removing all the `--show-details=` option…
-
Consider:
```haskell
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -F -pgmF glob-imports #-}
module Spec where
import Test.Hspec
-- GLOB_IMPORTS_SPLICE
do
specs do
…
-
Is there a way to tell hspec 'somewhere in this spectree, a test should fail'.
I'm writing a library that should help with hspec testing: https://github.com/NorfairKing/validity.
I would like to t…
-
**Summary by @ezyang.** There is no way to ask Setup to just typecheck a package. It sort of works if you pass `-fno-code` via `--ghc-options` but that's purely accidental.
---
I use `cabal build --…
-
### Minimal example:
```haskell
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DataKinds #-}
{-# LA…
-
### General summary/comments (optional)
`stack ghci --test` is mentioned in the docs as being supported, but behaves strangely in my project
### Steps to reproduce
Project with library, no exec…
-
When running tests according to the standard configuration in IHP guide if I can run one set succesfully. However if i try to run the tests again from the same ghci prompt I hit a:
```
unc…
-
These examples shouldn't need to be large but will be useful in showing people what something like 'lawsToTest' (found in the test suite for primitive) looks like
-
Currently a failing test will print:
```
To rerun use: --match "/someFailingTest/"
```
To use this suggestion with Cabal, it must be modified to this:
```
cabal test --test-options="--match …