Yuval Kogman wrote: > On Fri, Jul 07, 2006 at 08:36:33 -0500, Scott Bolte wrote: > >> I propose using of subset of the Config::Std syntax to allow tests to >> declare attributes that are captured in Test::TAP::Model as a hash. >> That would allow the test to declare configuration information, such >> as its dependencies, which would be available to downstream processors >> of the test results. > > > I would like this on a per-test-case level too. > > Pugs' test suite uses a weird syntax in the descriptions to spill > out the todo category (not reason, but whether it's a bug, a force > todo, unspecced, etc), the position of the test so that we can use > backlinks, and color the test file in HTML, and potentially other > info. > > It would be nice if this would be standardized.
This would eliminate my earlier proposal for have an optional line number in the protocol. I wanted this so that Smolder could have the same coolness as the pugs test server, without having my users modify their tests. Ideally this is what I would like to see. Some general attributes became semi-standard (like line number) then Test::Builder will automatically emit these attributes. This could be controlled by the environment, so that under normal testing the developers don't see too much clutter, but the harness itself could ask the tests to emit as much data as it wants. -- Michael Peters Developer Plus Three, LP