Skip to content

testify doesn't include class_setup/teardown in "Total test time" #18

@coyotemarin

Description

@coyotemarin

A lot of time spent in Yelp tests is not the actual tests, but setting up the users/reviews/etc. to run the tests on. Currently Testify doesn't show timing information for @class_setup and @class_teardown methods, or include them in the "Total test time".

These tend to be the most expensive methods (otherwise we'd just use @setup or @teardown), so it's kind of a liability not to know just how expensive they are.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions