On Mon, May 23, 2011 at 8:48 AM, Johan Tibell <johan.tib...@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 _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel