Skip to content

Don't discard all information about passing tests immidately #25483

Closed
@oxinabox

Description

@oxinabox

Right now the testing infrastructure itself discards all information for passing tests.
The Pass result type has fields for all the information, and a show method that would display it, but they are all blanked out with nothing etc as their values.

value ? Pass(:test, nothing, nothing, value) :

Determining whether or not to do this should not be done there.
It should be done in the record method of the testset.
That way it can be configured.

record(::DefaultTestSet, ::Pass) already discards the pass result entirely anyway.

I don't even think doing it later will cost memory, all that information is being captured anyway so that it can be reported for Failure/

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsystemThe unit testing framework and Test stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions