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 761365 - Create testsuite/ directory and move unit tests there
Create testsuite/ directory and move unit tests there
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-31 16:58 UTC by Sébastien Wilmet
Modified: 2016-03-26 20:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2016-01-31 16:58:32 UTC
To recognize more easily the "UI tests" (small apps) from the unit tests.

GTK+ has the following directories at the root of the repository:
- demos/: small demo applications that are installed with 'make install';
- tests/: small applications to test a specific part of the UI, but they are not installed;
- testsuite/: unit tests.

Ideally GtkSourceView should also have an installed demo application, but as a first step it would already be nice to move the unit tests in a new testsuite/ directory.

Maybe the best GtkSourceView demo is gedit, after all.
Comment 1 Paolo Borelli 2016-01-31 17:23:44 UTC
As discussed on irc, I agree with this plan.

For sure as a first step we can move unit tests in "testsuite" and keep interactive tests in "tests".


I also agree that it would be great to have "gtksourceview-demo" installed program. The current test-widget is the obvious starting point for such a demo, but we should improve it to make it easier to understand to quickly understand how to use a gtksourceview feature. Also, the demo should display the code of the demo itself, instead of gtksourceview.c
Comment 2 Sébastien Wilmet 2016-03-26 20:12:06 UTC
Done in wip/gsv-next. The demo will be for another time.