Hi Haskellers,
 
I read about the cabal features for running test code from Setup.hs with "defaultMainWithHooks". I'm looking for more generic code that allows me to place any haskell in a subdirectory "test" or so and "cabal test" will run this test without any modification of my Setup.hs.
 
Is there a possibility?
 
Thanks
 
Klaus