Skip to content

Mocking signals for unit/widget testing #106

@biscottis

Description

@biscottis

Hi! I think signals is a criminally underrated state management framework, love it so far. It's a lightweight version of MobX, GetX without codegen and feels performant so far.

I have a question, how can I mock signals for widget testing? If that makes any sense.

I want to test screens or widgets given a certain 'state', for example in classic Bloc/Cubit you would have https://pub.dev/packages/bloc_test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions