by js8 · 4y ago · 0 comments
The move from testing to static analysis is happening there, in the expressiveness of the type system, and its inferences. Functional languages are on the forefront of experimentation with new type systems.
Are you claiming that static analysis of code can replace the concept of writing tests completely? If so, I'm very skeptical.
But if we are talking about unit test on the level of functions, yes, I think they can be replaced.