softwareonastring.com
Is unit testing literal values pointless?
Well, yes. And no. You shouldn’t be using literal values anyway. You should be using constants. And when you use constants everywhere, there is absolutely no point in testing whether a consta…