Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch derivation test from -core to hspec(-golden) #261

Open
sorki opened this issue Nov 26, 2023 · 0 comments
Open

Switch derivation test from -core to hspec(-golden) #261

sorki opened this issue Nov 26, 2023 · 0 comments
Labels
core `hnix-store-core` related good first issue

Comments

@sorki
Copy link
Member

sorki commented Nov 26, 2023

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.

@sorki sorki added core `hnix-store-core` related good first issue labels Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core `hnix-store-core` related good first issue
Projects
None yet
Development

No branches or pull requests

1 participant