You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more a developer experience problem than a bug. After changing the scripts in hydra-plutus, I want to see the golden tests failing and then recompute the golden files we keep in the repo.
Try cabal test hydra-plutus because I know it's golden tests
Try cabal run hydra-plutus because I remember tests are now exes
Fix my command to cabal run hydra-plutus:exe:tests because cabal tells me to
Actual behavior
Tests do run, but produce a new scripts/ dir wherever I happen to be and do not use what was checked in reliably (it tricks me into thinking everything is fine, but CI would fail)
Expected behavior
Tests to run against the scripts that are checked in.
A single command to do that with cabal, i.e. cabal test hydra-plutus
Workaround
Use cabal repl hydra-plutus:exe:tests and then run :main in it
The text was updated successfully, but these errors were encountered:
This is more a developer experience problem than a bug. After changing the scripts in
hydra-plutus
, I want to see the golden tests failing and then recompute the golden files we keep in the repo.Context & versions
13e596f
Steps to reproduce
cabal test hydra-plutus
because I know it's golden testscabal run hydra-plutus
because I remember tests are now exescabal run hydra-plutus:exe:tests
because cabal tells me toActual behavior
scripts/
dir wherever I happen to be and do not use what was checked in reliably (it tricks me into thinking everything is fine, but CI would fail)Expected behavior
cabal
, i.e.cabal test hydra-plutus
Workaround
cabal repl hydra-plutus:exe:tests
and then run:main
in itThe text was updated successfully, but these errors were encountered: