Android application code coverage for manual testing

I am looking for a way to get EMMA code coverage using a manual test. I mean, I don’t want to write any unit test cases using the android test framework, instead I’m looking for a way to configure the source code of the Android application and check it manually, and in the end I should see EMMA coverage. Any help would be greatly appreciated.

+4
source share
2 answers

Almost a month, and you have no answers.

You might want to use a testing tool that is not tied to an infrastructure in a way like Emma. This avoids incompatibility issues with the specified infrastructure.

Our Java Test Coverage tool uses your source code, making it independent of the compiler and runtime. You compile your code and execute / test it, however (system tests, unit tests, manual interaction), and it collects test coverage data in the Java array in the TestCoverage class as the tests run. At the end of execution (you determine that although leaving main is a common definition), test coverage data is written in some way to a file, ultimately displayed by the testing tool. Although the Java Test Coverage tool provides a default class implementation that writes an array to a file on disk using Java file primitives, you can easily override the implementation with any code you like and save the array anywhere where you can eventually restore another mechanism. which you need to convert to a file and then display.

This will work with your code usage guide.

+2
source

Try using the following entry. It seems to have worked for many people.

http://dtmilano.blogspot.com/2011/11/obtaining-code-coverage-of-running.html

0
source

All Articles