shoebot icon indicating copy to clipboard operation
shoebot copied to clipboard

IDE Tests

Open stuaxo opened this issue 7 years ago • 1 comments

#218 highlights a need for tests

Pygobject has a nice initial example of a test skeleton that creates a Gtk Window runs a test then destroys it -

https://github.com/pygobject/pygobject-travis-ci-examples/blob/master/test.py

Adapting this to bring up the Shoebot IDE and then close it would be a good base to build tests on.

The first set of tests would trigger all the on_... handlers and check they run correctly.

stuaxo avatar Apr 20 '19 09:04 stuaxo

Agree completely, this would have simplified tonight's bug hunt a lot :-)

Great that you pasted that link, I might find the time soon to give this a try.

rlafuente avatar Apr 21 '19 22:04 rlafuente