Skip to content

Mock Context support for unit testing #202

Description

@dmitrypol

When building modules we often leverage ctx: &Context in various functions. There is a Contenxt::dummy but it doesn't have all the necessary features which means it can't be used in unit tests.

Introduce a mock Context that mock all the functionality of the real Content

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