Show value if test fails


If I run

a = 15
@test a == 12

I get failure and Evaluated: 15 == 12

but if I run

@test isapprox(a, 14.3)

I don’t get the evaluated version of a which would be nice.

A fix for that is

@test a ≈ 14.3

But doesn’t work for

@test a ≈ 14.3 atol=1


Looks like this feature is coming in the next version: