Skip to content

Add duration to Test Artifacts #8

Description

@comps

Test runtime is something certain people really care about, and we should probably support it cleanly.

It seems sensible to extend Test Artifacts with a new field, duration, so it can be reported on a per-result basis (eg. even for subtests), and Aggregators that don't care can simply ignore the field.

An Executor-created fallback result could include it too, measured simply between the test being started and its exit, in the case of FMFExecutor, it could be just $original_max_duration - $now, to include saving/restoring metadata-imposed duration limit.

It should probably always be in seconds, not as some ISO timestamp or h/m/s string. Probably in full seconds (integer), as Executor execution, even if running just local commands, is likely not precise enough for sub-second test durations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions