
16 Feb
2012
16 Feb
'12
2:56 a.m.
Hello, I recently started using test suite sections of cabal but it soon appeared very inconvenient to me. 1) test data files If I want to include test data files into package, I have to enumerate all test files since the usage of '*' is restricted. I just want to specify the top directory of test data files. Why does this restriction exist? 2) build-dependency I need to repeat all build-dependency of a library section to a test suite section. Specifying the library itself to build-dependency of a test suite section does not work. This violates the DRY philosophy. Any ideas to avoid this? Thanks. --Kazu