GNOME Bugzilla – Bug 761365
Create testsuite/ directory and move unit tests there
Last modified: 2016-03-26 20:12:06 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.
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
Done in wip/gsv-next. The demo will be for another time.