Contributions

Please check contribution guidelines.

Testing

This project contains a set of tests that can be run to automatically verify the correctness of the IoTA functionalities.

The following requirements must be installed and executed in order to launch the tests:

You can use the docker-compose-dev.yml file to set up the required services as follows:

cd docker
docker compose -f docker-compose-dev.yml up -d

To run the tests:

npm test

Code coverage

In addition, the project is configured to provide source code coverage statistics reached thanks to the tests.

npm run test:coverage

This command will produce an HTML coverage report under coverage folder.

Coding guidelines

ESLint is used to check code linting:

npn run lint