Andy Armstrong wrote: > If you want to be able to safely multiplex TAP from multiple sources on > a single stream the safest way is to tag each line with its source: > > source1: 1..5 > source1: ok 1 > source2: 1..10 > source1: ok 2 > source2: ok 1 > > etc. You can demux it by applying the obvious s/^\w+:// transformation. > > Even if we made it possible to associate a chunk of YAML with a previous > test who's to say that the whole YAML document was output atomically? > Maybe that got mixed up with YAML from another source?
The latter was my concern but then I realized that in order for several sources to all write to one stream they're going to have to coordinate somehow anyway so they don't talk over each other, either by running linearly or by doing some sort of file locking. This is regardless of the new YAML stuff. The former I'm not worried about. In fact, it could easily be done by putting the source information into the YAML diagnostics for each test. > There's a lot of wisdom in Ghostbusters of which this is just one example. uhhhhhhhhhhh... oh.