haskell-nix/hnix-store

Switch derivation test from `-core` to `hspec(-golden)`

オープン

#261 opened on 2023/11/26

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Haskell (26 件のフォーク)github user discovery
coregood first issue

Repository metrics

Stars
 (98 個のスター)
PR merge metrics
 (平均マージ 20d 16h) (30d で 3 merged PRs)

説明

It is the only remaining test using tasty and tasty-golden.

There's also a problem with it - it works when run via cabal test core but not via cabal run core as the directory prefix is in the way and it has trouble finding fixture(s). Similar problem was resolved in -nar https://github.com/haskell-nix/hnix-store/blob/master/hnix-store-nar/tests/NarFormat.hs#L171-L187 where it tries both with and without a subdir.

コントリビューターガイド