[PATCH] test: optionally print subtest number

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Tue Dec 13 15:24:23 PST 2011


On Tue, 13 Dec 2011 19:18:16 -0400, David Bremner <david at tethera.net> wrote:
> On Tue, 13 Dec 2011 14:22:21 -0800, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> 
> > I've only been vaguely following this "test count" stuff, but I'm not
> > sure I understand what's the point of giving tests a number that is
> > ultimately mutable.  Why not just label things by the test name, instead
> > of the count?  That wouldn't require keeping track of number/name
> > mapping, which will change over time.
> 
> We don't actually have test names, at least not ones directly suitable
> for file names.  I guess we could encode them or something, is that what
> you mean?
> 

BTW I have some plans to introduce optional explicit test ids that can
be used for inter-test dependencies.  E.g.:

  test_begin_subtest test-id-1 "A subtest"
  ....
  ;; in another test requre that test-id-1 passed
  test_require_subtest test-id-1

Regards,
  Dmitry

> d
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list