Skip to content

run_test_file() duration longer than 1min are incorrectly displayedΒ #141

@katrinabrock

Description

@katrinabrock

print.tinytest expects duration attribute of output object to be in seconds. However, run_test_file produces a difftime object with "auto" units.

Issue is here: https://github.com/markvanderloo/tinytest/blob/bcfec2d/pkg/R/tinytest.R#L698

This issue was fixed 4yrs ago for run_test_dir b6d4589 , but remains for run_test_file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions