testing-with-hunit http://jasani.org/2007/12/05/unit-testing-with-hunit-in-haskell/ How to load tests in ghci with stack stack ghci **(your project name):(the test suite name)**. Then you should be able to enter main and your tests will run. To run tests from ghci stack ghci runTestTT