gnome-shell/tests
Florian Müllner 151e2faa0f build: Set up jasmine for unit testing
Jasmine[0] is a popular testing framework for javascript, which
gjs itself has used in a heavily customized form for its own
unit tests for years.

It's far superior to the very rudimentary `jsUnit` module that
is still included with gjs, and the jasmine-gjs project provides
a general-purpose wrapper for gjs apps.

Set up the necessary build infrastructure to run unit tests
through jasmine. That allows for existing unit tests to be
ported one-by-one.

[0] https://jasmine.github.io/index.html

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3164>
2024-05-21 13:42:28 +00:00
..
common tests: Load unit tests as modules 2023-07-15 02:35:56 +00:00
data tests/perf: Use custom solid background in tests 2022-11-25 22:09:54 +01:00
dbusmock-templates tests: Add accounts_service mock service 2022-11-25 22:09:37 +01:00
shell messageTray: Only take params in Notification constructor 2024-03-03 01:33:16 +00:00
unit build: Set up jasmine for unit testing 2024-05-21 13:42:28 +00:00
gnome-shell-dbus-runner.py.in tests: Add dbus runner 2022-11-25 22:09:37 +01:00
gnomeshell_dbusrunner.py tests: Add dbus runner 2022-11-25 22:09:37 +01:00
meson.build build: Set up jasmine for unit testing 2024-05-21 13:42:28 +00:00