tasty-golden icon indicating copy to clipboard operation
tasty-golden copied to clipboard

Golden test support for Tasty

Results 6 tasty-golden issues
Sort by recently updated
recently updated
newest added

I'm using `goldenVsString` to check that I correctly encode something to a binary output format (protobuf, but CBOR or anything non-textual would demonstrate this same problem). When the output doesn't...

I find it too easy to mess up with the default configuration of creating missing golden files. Either by forgetting to commit the file, or by running the testsuite from...

See https://github.com/UnkindPartition/tasty-golden/issues/50

This commit is super specific to bazel environment. In Bazel, when you run a test with `bazel test`, they are run in a sandbox, so files written by the golden...

This replaces the defunct Travis CI. It does not test the cabal flag `-f build-example` for two reasons: 1. `haskell-ci` does not support cabal flags out of the box. The...

https://github.com/andreasabel/tasty-golden/actions/runs/9974301327/job/27561499921?pr=1#step:9:10 findByExtension: FAIL (0.01s) tests\test.hs:38: expected: ["C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2\\d1/d2/h1.c","C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2\\d1/g1.c","C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2\\f1.c","C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2\\f2.h"] but got: ["C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2/d1/d2/h1.c","C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2/d1/g1.c","C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2/f1.c","C:\\Users\\runneradmin\\AppData\\Local\\Temp\\golden-test-50df2576f20975a2/f2.h"]