Add automated tests for OnionShare
So far we don't test OnionShare at all. Writing test for the graphical version should be not too hard, as Dogtail is supporting it (window elements are displayed correct etc.).
#1 Updated by mig5 over 2 years ago
Please also see the upstream issue https://github.com/micahflee/onionshare/issues/404
There is a PR that contains various GUI qTests capable of being run with pytest or nosetests at https://github.com/micahflee/onionshare/pull/416 - upstream is very keen to get help whipping these early rudimentary tests into shape.
Related but closed PR for other pytests at https://github.com/micahflee/onionshare/pull/415
Just mentioning it in case there's risk of overlap of effort here.
#2 Updated by u over 2 years ago
The python-nosetests are run automatically before uploading the Debian package to debian :) So, probably no need to test that again.
@mig5: The tests this tickets is talking about are our amazing graphical testing. It detects clicking on UI elements and reports back :)