Hacker News new | ask | show | jobs
by aindhaden 3484 days ago
This is true only for a very particular kind of constants, like the ones defining API error codes (eg. define PAGE_NOT_FOUND 404). And those should be covered by integration tests, not unit tests.