Skip to content
Trading bot
Developer environment
Runing tests

Tests

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

Requirements

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

OctoBot engine

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.

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.