Skip to content

Demonstrate how reg can be used for testing applications #14

Description

@thedrow

The DI nature of reg allows us to replace the entire system with fakes, mocks, stubs without using unittest.mock.
This means that testing is much easier because you don't have to know the call site.
Maybe we can add a TestCase base class that cleans up the registry after each test.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions