In our previous post we looked at writing a custom lint check to enforce usages of a custom view instead of an Android framework implementation.
In this post, we’ll go over how to unit test such a scenario, and take the opportunity to look at some additional options of unit testing with lint as well.