[Haskell-cafe] Re: GSoC: Improving Cabal's Test Support

Gregory Crosswhite gcross at phys.washington.edu
Tue Apr 6 20:45:11 EDT 2010


On Apr 6, 2010, at 5:35 PM, Ivan Miljenovic wrote:

> On 7 April 2010 10:28, Thomas Tuegel <ttuegel at gmail.com> wrote:
>> Ok, this is the bottom-line that I didn't understand after our first
>> exchange, but I think now I do: I should entirely scrap the second
>> aspect of my proposal and focus exclusively on making Cabal build and
>> run test programs.
> 
> Just as a food for thought: how would you deal with test programs that
> deal with user input?  Should "cabal test" only run those that are
> automatic?

Yes, I personally think that tests which are automatically run should be self-contained so that they require no additional intervention by the user.  However, one could conceivably flag some tests as being "manual" so that they are only run when chosen specifically (i.e. if "foo" is manual then it is only run with "cabal run foo").

Cheers,
Greg



More information about the Haskell-Cafe mailing list