GNOME Bugzilla – Bug 725154
Add UI tests
Last modified: 2021-07-05 11:31:03 UTC
Add Dogtail-based UI tests that are run both at make check time and as installed tests. See gnome-software as an example.
Created attachment 272170 [details] [review] added infrastructure for tests. I am also maintaining separate branch testable here : https://github.com/pranavk/gnome-documents/tree/testable for writing UI tests for gnome-documents.
Review of attachment 272170 [details] [review]: Thanks for picking this up, Pranav! We sorely need tests. A few initial comments. ::: Makefile.am @@ +1,1 @@ ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS} You missed: DISTCHECK_CONFIGURE_FLAGS = --disable-dogtail ::: configure.ac @@ +110,3 @@ + enable_dogtail=yes) +AM_CONDITIONAL(ENABLE_DOGTAIL, test "$enable_dogtail" != no) + Why not go the whole distance and add lcov support too? See commit f8fca13f50480707eac52236fc3d89c6340ba20e in gnome-weather. ::: tests/Makefile.am @@ +16,3 @@ +endif + +include $(top_srcdir)/git.mk This is unrelated to this commit. Please use a separate commit for introducing git.mk managed .gitignore.
Blocked by Bug 726794
Created attachment 293668 [details] [review] Add infrastructure for application tests Based on gnome-photos
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-documents/-/issues/ Thank you for your understanding and your help.