Consistent way to hide ignored test cases
- 主要言語
- Haskell
- スター
- 529
- フォーク
- 201
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I noticed that there isn't a consistent way regarding how some test cases are ignored, to name a few:
- https://github.com/exercism/haskell/blob/main/exercises/practice/pangram/test/Tests.hs
- https://github.com/exercism/haskell/blob/main/exercises/practice/alphametics/test/Tests.hs
- there are probably more examples but I'm too lazy to get a compete list unless forced to do so
I'm wondering if you are open to the idea of using some hspec facilities like `configSkipPredicate` from [Config]( https://hackage.haskell.org/package/hspec-core-2.7.8/docs/Test-Hspec-Core-Runner.html#t:Config) so those ignored cases can be uncommented but still ignored without explicitly specifying it? (This is of course assumming that all test suites are using or can be adapted to use hspec)
A potential strategy, for example, might be marking ignored tests by prefixing its description with `Ignored: `, and then instruct users to use `stack test --ta="--skip=Ignored:"` and remove `--skip` flag when they are up to the challenge.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。