gnome-shell/tests/unit
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
..
.eslintrc.yml build: Set up jasmine for unit testing 2024-05-21 13:42:28 +00:00
highlighter.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
injectionManager.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
insertSorted.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
jsParse.js tests: Fix check for global scope pollution 2024-01-26 13:12:40 +00:00
markup.js util: Implement fixMarkup in util as opposed to messageList 2024-05-21 13:42:28 +00:00
params.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
signalTracker.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
url.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
versionCompare.js util: Handle .rc in version comparisons 2024-01-26 13:20:07 +00:00