Skip to content

Files

Latest commit

73725b3 · Dec 19, 2024

History

History

dashboard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 12, 2024
Dec 17, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 19, 2024
Dec 19, 2024
Dec 19, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024

Carenage dashboard

This is the front-end interface for Carenage. It is a SvelteKit project, thought as a dashboard representing metadata and environmental impact metrics for a given project, a CI pipeline, a CI run for a job, etc.

Development

Setup

With npm installed, you can do make install to setup needed dependencies for the project. Then, with make run_dev, this will launch the server for the dashboard.

Testing

Unit and integration tests are executed with make component_test, end-to-end testing with make e2e_test.

For integration testing and mocking responses from external services like Boagent, msw is used. You can add handlers for specific URLs in src/mocks/handlers.ts. In a development environment, those will be able to handle fetching valid URLs by the server code, and render data on the adequate pages. Handlers work either in the browser and in a Node environment.