I'm still confused about where these two bits are going.
Ovid:
> Thanks for reminding me. Another bit of meta-information that
> should be optionally supported in the TAP YAML output is "duration".
Michael:
>it would be nice if we could get the original
> run time of the tests. Duration can be calculated from that.
What is "run time"? The time it takes for each test to run?
>> What's that calculation look like?
Are we talking about $harness_end - $harness_start ?
>> From what I've seen, we
>> currently only have the harness start/end times.
>
>Yeah, it's basically just doing a time() before the main runtests()
> and then again after it.
> ...But Smolder can only use the version of TAP ...
> ...there is no such information currently given.
Isn't Smolder reading the meta.yml file from the archive?
I'm not particularly concerned about where $test_start{"foo.t"} and
$test_end{"foo.t"} are written (in the tap stream with YAML or in
meta.yml or on a bit of parchment) as long as we keep in mind that
tests may run simultaneously.
harness_time: [13:01.00, 13:02.30]
test_times:
foo: [13:01.01, 13:01.08]
bar: [13:01.01, 13:02.05]
baz: [13:01.08, 13:02.30]
(pretend I typed valid datetimes and YAML)
--Eric
--
Those who cannot remember the past are condemned to repeat it.
--George Santayana
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------