It seems to me that Pkg.test()
returns nothing
. Is there a way in which I could find out programmatically if the tests passed?
1 Like
It looks like Pkg.test()
throws an exception in case tests fail.
A simple try...catch
statement should therefore allow you to detect problems:
try
Pkg.test()
catch
println("something happened")
end
2 Likes