When it comes specifically to cryptography, I think formal verification should be added for increased confidence.
(I'm not saying "don't bother writing tests if you're using a strongly typed language" - these things can and should be be complementary)
0: https://en.wikipedia.org/wiki/Dependent_type
1: https://www.idris-lang.org/
As cool as Idris is, in my experience it has been quite buggy. I would suggest Agda or Coq instead which are more mature.
When it comes specifically to cryptography, I think formal verification should be added for increased confidence.
(I'm not saying "don't bother writing tests if you're using a strongly typed language" - these things can and should be be complementary)
0: https://en.wikipedia.org/wiki/Dependent_type
1: https://www.idris-lang.org/