Skip to content

How to handle Unit Test ?  #16

@melikeey

Description

@melikeey

When I try to unit Test with robolectric, I got errors, I think it is about mocking...

I can not call as TicketView class and mock.

Error:

error: attribute ticketBorderColor (aka com.component.test:ticketBorderColor) not found.

How can we mock the view?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions