Tagged in

Oop

WebDevOps
WebDevOps
Dat is bekend
More information
Followers
4
Elsewhere
More, on Medium

Constants in tests #2

Despite other arguments against using constants in test, there is one more.

You can not make a constant private, even though you don’t use it in the rest of the codebase, if the constant is being used in the tests.