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/
Right now the testing infrastructure itself discards all information for passing tests.
The
Passresult type has fields for all the information, and a show method that would display it, but they are all blanked out withnothingetc as their values.julia/stdlib/Test/src/Test.jl
Line 432 in 6a45619
Determining whether or not to do this should not be done there.
It should be done in the
recordmethod 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/