-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
Description
See https://groups.google.com/forum/#!topic/julia-users/sk8Gxq7ws3w. In particular:
You can completely prevent any surprises if you have tests that exercise every global binding that occurs anywhere in your code. That's a fairly straightforward coverage metric and one that's not unreasonable to insist on keeping at 100% in production-quality code. It is much easier to satisfy than perfect test coverage: if you have many functions that use
foo
you only need one test that callsfoo
somehow to be sure thatfoo
is an unambiguous reference.
Follow-up to #4345.