Some hobby chargers have smartphone apps. Check out RC forums for that kind of info. By the time you get something like that setup, it would be far easier to buy a charger with testing functions that can test 4 batteries at a time. Check out the Batteries Included forum.
I have the LiitoKala Lii-500, for $30 it can do a charge, discharge test and tell you the capacity and internal resistance. But there are a sea of other choices. Hope this helps.