You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
nickrobinson251
changed the title
function to get the (flattened) list of results by type
functions to get the (flattened) list of results by type
May 18, 2023
@testsetbegin
results =capture_results() do# <- return an EncasedTestSet, so we can iterrogate the resultsmy_tester_function()
end# test we saw the one error we expected
err =only(get_errors(results))
@test err.test_type ==:nontest_error@test err.value ==string(ErrorException("test item \"Abort\" didn't succeed after 1 tries"))
end
e.g. like https://github.com/JuliaTesting/ReTestItems.jl/blob/498097bd04a9f890b8623c0d0857ab5dd534890d/test/_integration_test_tools.jl#L71-L89
effectively a generalisation of the current
nonpassing_results
The text was updated successfully, but these errors were encountered: