Yitzchak Scott-Thoennes wrote: > Michael G Schwern wrote: >> print "TAP version 15\n"; >> print "1..1\n"; >> print "# Information\n"; >> print "not ok 1\n"; >> print "! Failure\n"; > > I'd really not like to see meaningful punctuation.
>> I'm going to say its if a line starts with a ! just for discussion >> purposes. ----->>> "Just for discussion purposes" <<<----- I haven't given any thought to the real syntax yet. > How about > "diag Failure\n". Or even levels of keywords debug/info/notice/warning/ > err/crit/alert/emerg (stolen from syslog.h). That's an interesting idea. My worry is making it human readable. not ok 2 err Test failed in foo.t line 2 err got: foo err expected: bar ok 3 It doesn't leap out at you the way something like this does. not ok 2 !!! Test failed in foo.t line 2 !!! got: foo !!! expected: bar ok 3 > Oh, and "yaml" if that idea lives. The TAP diagnostic syntax is largely orthogonal to this although it makes most uses of displayed diagnostics obsolete.