Skip to content

Don't test private functions #749

Open

Description

@mcmire

All code should be reachable by public functions, by testing the expected behaviour of each method. If some internal operation is too complex to be tested this way, it should be refactored into a separate module instead, so that it can be fully tested and documented on its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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