Skip to content

Add UnitTest for ViewModel about @Published properties. #172

Description

@fumiyasac

Motivation

By introducing unit tests, you can check whether State changes are being executed correctly.
Fortunately, the Repository class has a structure that allows you to create a Mock based on the Protocol.

Idea

For Example, I think the following ideas for utilizing OSS are effective.

Appendix

You may also refer to the UnitTest example of the @published property part in the architecture using Redux that I implemented earlier.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions