haskell.nix/test
2019-05-30 22:46:39 +02:00
..
builder-haddock Try to fix tests (#138) 2019-05-20 21:29:02 +08:00
cabal-22 Try to fix tests (#138) 2019-05-20 21:29:02 +08:00
cabal-simple Try to fix tests (#138) 2019-05-20 21:29:02 +08:00
cabal-sublib Try to fix tests (#138) 2019-05-20 21:29:02 +08:00
call-cabal-project-to-nix Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
callStackToNix Fix tests (#133) 2019-05-18 17:42:23 +08:00
shell-for Fix name of shellFor derivation for a single package. (#155) 2019-05-30 22:46:39 +02:00
snapshots Add snapshots attribute (#151) 2019-05-27 16:05:42 +08:00
stack-simple Regenerate nix for test/stack-simple 2019-05-07 15:31:35 +08:00
with-packages Try to fix tests (#138) 2019-05-20 21:29:02 +08:00
default.nix tests: Add tests for the shellFor function 2019-05-28 09:34:58 +10:00
README.md doc: Update test/README.md 2019-05-08 09:50:31 +10:00
regen.nix tests: Add tests for the shellFor function 2019-05-28 09:34:58 +10:00
tests.sh Fix name of shellFor derivation for a single package. (#155) 2019-05-30 22:46:39 +02:00
unit.nix tests: Add unit tests for library functions 2019-01-30 15:38:38 +10:00
util.nix tests: Add more tests for "all" component merging 2019-02-07 09:39:12 +08:00

Haskell infrastructure test cases

To build the test cases, run from this directory:

nix-build --no-out-link default.nix

To run all tests (includes impure tests), use the script:

./tests.sh

Generated code

If you change the test Cabal files or need to regenerate the code with nix-tools, then see regen.nix. Run it like this:

$(nix-build --no-out-link regen.nix)