In referring to the answer in How to get code coverage using Android Studio?, we could generate Junit Test coverage on Android Studio. I could even dump out the Coverage Report in HTML format using menu Analyze->GenerateCoverageReport...
I'm thinking of getting this run from command line to get the test run with Coverage, and automatically dump out the Coverage Report in a designated folder. Is there a command that I could do so? (I'm in a linux/mac environment)