今のところ標準的な方法はないけど,@shelarcy さんによると GSoC のプロジェクトで Cabal の test 機能を改善している最中だそうです. http://socghop.appspot.com/gsoc/student_project/show/google/gsoc2010/haskell/t127230760295 http://cabaltest.blogspot.com/ しかし現状の Cabal では自分で hook を書くしかなさそう. 具体的には . |-- LICENSE |-- Setup.hs |-- hayate.cabal |-- src | |-- Device.hs | |-- Hayate.hs | `-- Main.hs `-- test |-- test_device.hs `-- test_hayate.hs 2 directories