maks / MGit

A Git client for Android.
https://manichord.com/projects/mgit.html
GNU General Public License v3.0
1.17k stars 164 forks source link

Improving unit tests with clone, pull and push #273

Open kb-1000 opened 6 years ago

kb-1000 commented 6 years ago

Currently issues like #259 can only be detected with human interaction. But they do appear. So I recommend creating publicly writable repositories on some services like BitBucket, GitHub and Gitlab for this and cloning some repos on other servers. This can't be avoided but maybe quickly detected.

maks commented 6 years ago

Well 259 is really a integration issue and would really need integration tests against Git repo providers, but I do have on my todo list to improve significantly the unit test coverage within MGit, but that will be part of my planned code refactoring as the current code structure makes real unit testing very difficult.