vendredi 30 septembre 2016

Android + Integration test + PowerMock: How to test private methods, static methods and final classes?

I'm having some problems when I try to test methods and classes in Android. I know that to make Unit Tests I could use PowerMock to test private methods, static methods and final classes. But when I try to do the same with Integration Tests I don't know how to do it.

1) Is there any other way (library or wherever) to test those kind of scenarios?

2) Is there any way to use PowerMock in both tests (Unit and Integration)? Because I'm having some dependencies problems.

Thank you!

Aucun commentaire:

Enregistrer un commentaire