Feature #12627

Add automated tests for OnionShare

Added by spriver 2017-06-02 10:57:05 . Updated 2019-09-30 08:06:30 .

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2017-06-02
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
OnionShare
Deliverable for:

Description

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.).


Subtasks


History

#1 Updated by mig5 2017-06-03 09:14:54

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 Anonymous 2017-06-30 11:14:54

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 :)

#3 Updated by intrigeri 2017-06-30 11:39:18

> The python-nosetests are run automatically before uploading the Debian package to debian :) So, probably no need to test that again.

Cool, that’s already something :)

Now, I only see a few unit tests, and no integration tests.

#4 Updated by intrigeri 2019-09-30 08:06:30

  • Assignee deleted (spriver)

(I’ve discussed this with spriver out-of-band. Conclusion: anyone should feel free to take this ticket if they’d like to.)