As I am new to unit testing can any one suggest me resources with sample examples for unit testing broad cast receiver. I want to get more information about broadcast receiver unit testing.I am using junit to test android applications. thanks for help in advance.
Share
You can use a MockContext and override a few methods to see if you register the broadcast receiver and unregister it. But for the rest, normal testing should be enough.