Skip to content

coverage metric: fraction of resolved global bindings #11006

@StefanKarpinski

Description

@StefanKarpinski

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 calls foo somehow to be sure that foo is an unambiguous reference.

Follow-up to #4345.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions