AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Unit Tests Aren't a Test, It's Just Documentation
In this case, I would argue that the unit test actually has a different purpose because it doesn't really serve to increase the reliability or the correctness of your code. It's just documentation. You're sort of implicitly documenting those are the value boundaries of what I can pass into this particular module. And you happen to describe it in terms of executable test code.