After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683188 - Break tests/test_overrides.py into multiple files
Break tests/test_overrides.py into multiple files
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gobject
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-02 00:50 UTC by Simon Feltman
Modified: 2012-09-03 05:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Feltman 2012-09-02 00:50:11 UTC
There are currently a handful of large test cases in the test_overrides module. I propose breaking this into multiple files based on the test cases. 

test_glib
test_pango
test_gdk
test_gtk
test_gio

TestGtk should be further broken into multiple test cases within the test_gtk file based on the specific groupings of features being tested within Gtk.

This has two major benefits:
* It will improve readability and maintenance by making it easier for hackers to add new tests and improve existing ones.
* If the override modules are moved directly into their respective APIs source package, moving the tests along with them will become trivial.
Comment 1 Martin Pitt 2012-09-03 04:41:32 UTC
I agree, that's a good idea. It also makes running individual tests slightly easier.