Skip to content
Robot de trading
Environnement de développement
Exécuter les tests

Tests

La traduction française de cette page est en cours.

Each OctoBot repository test suite is run using pytest on GitHub Action and can be run locally on a development environment.

Prérequis

To run OctoBot’s tests, an OctoBot development environment is necessary, development environment setup is described on the Setup your environment section

Le moteur d’OctoBot

To run OctoBot’s engine tests, use the pytest tests in OctoBot’s root folder :

pytest tests

This will run all tests in the test folder.

Les Tentacles

To run OctoBot’s tentacles tests, use the pytest tentacles command in OctoBot’s root folder :

pytest tentacles

This will run all tests in the tentacles folder. Testing tentacles works only if tentacles are installed on the tested OctoBot. See OctoBot’s tentacle manager to install tentacles.