Krishna Pratap Singh
Krishna Pratap Singh

Reputation: 27

Android app code coverage without having JUnit or any other automated test case?

I have an full fledged android application and its source code but there is no JUnit or any other automated test cases are available for the app. How can I do code coverage test for it? Is Jacoco any plugin like Gradle can be helpful in this scenario? Thanks in adavance.

Upvotes: 2

Views: 524

Answers (1)

Ira Baxter
Ira Baxter

Reputation: 95324

Our Java Test Coverage Tool can collect code coverage statistics regardless of how the application is exercised. It is not dependent on any specific unit test framework (although it can work any, including none).

If you run it with tests, you get "code coverage from tests". If you simply exercise the application manually, you get "what code does this manual operation exercise?" If you do a thorough manual exercising of the code, you get the equivalent of "what code does all of my manual testing" exercise.

Upvotes: 1

Related Questions