add golden tests

This commit is contained in:
Kylix Afonso 2023-03-15 11:08:40 +00:00
parent e9053be78f
commit 18b3801c99
6 changed files with 305 additions and 1 deletions

View file

@ -1,4 +1,5 @@
import GHC.IO.Encoding (setLocaleEncoding, utf8)
import Golden qualified
import Test.Tasty (defaultMain, testGroup)
--------------------------------------------------------------------------------
@ -22,7 +23,8 @@ main = do
defaultMain $
testGroup
"test suite"
[ testGroup
[ Golden.testGolden
, testGroup
"Effects"
[ toTestTree $ group "Treasury Withdrawal Effect" TreasuryWithdrawal.specs
, toTestTree $ group "Governor Mutation Effect" GovernorMutation.specs