I would like to write unit tests for some fairly complex Android layout code (multi-level nested layouts, RtL vs LtR, dynamic layout changes as data items are moved around in a tree).
What I'd like to avoid is comparing screenshots of layouts with reference images.
What more abstract conditions might be good targets for tests?
I realize this is a fairly unspecific question, but I am not looking for specific code, more hoping for general suggestions from people who've done this kind of thing.
Aucun commentaire:
Enregistrer un commentaire