Jena Fuseki UI is a Vue 3 application built with Vue Router, Vite, Bootstrap 5 (and Popper), Vue components (Vue Upload component and custom components for Jena), FontAwesome (icons), Axios (HTTP client), and YASGUI (YASQE and YASR) for SPARQL query editor with code syntax highlighting and auto-complete.
It interfaces with the backend application, Jena Fuseki servlets, via HTTP requests with YASGUI and Axios.
package.json
contains the following scripts:
dev
serve
build
test:unit
test:e2e
lint
eslint
)coverage:unit
coverage:e2e
serve:fuseki
serve:offline
For every command above that starts Vite (default port 8080
) or Fuseki (default port 3030
), you can customize the ports used. For example:
FUSEKI_PORT=9999 yarn run serve:fuseki PORT=1313 FUSEKI_PORT=9999 yarn run serve:offline FUSEKI_PORT=3031 PORT=8081 yarn run test:e2e ...
Vitest UI is a user interface provided by Vitest that can be used to visualize tests and coverage.
It is similar to the Maven Surefire Plug-in, but in a more interactive web page, where you can visualize the test code, its coverage, and the code related to that test in a visual graph.
$ # To run Vitest UI $ npx vitest --ui $ # If you want to look at the coverage $ npx vitest --ui --coverage.enabled=true
[!NOTE] This command is only available for the unit tests. For e2e tests you must still use
yarn run coverage:e2e
, as it uses Cypress with Istanbul to measure the coverage, instead of vitest only.