Any remaining test patches?

Thomas Tuegel ttuegel at gmail.com
Mon May 23 21:04:38 CEST 2011


On Mon, May 23, 2011 at 8:48 AM, Johan Tibell <johan.tibell at gmail.com> wrote:
> I'm worried about generalizing from a single instance (i.e. GHC).
>
> If we'd like to add some flexibility we could allow tests to carry
> arbitrary tags:
>
> class TestInstance a where
>    tags :: a -> [String]
>
> Test agents could use tags to group tests in different ways. We could
> add  support for tags in Cabal's test runner so that they can be used
> to select which tests to run. For example,
>
> cabal test --test-tags="smoke -flaky"
>
> could run all non-flaky smoke tests.

I think this is a great, inexpensive way to add a lot of flexibility
to the test system. Anyway, it seems tags are all the rage these days!
(Could this be a marketing point? "Cabal Test: Now with Tags!")

-- 
Thomas Tuegel



More information about the cabal-devel mailing list