Sahara Testing

We have a bunch of different tests for Sahara.

Unit Tests

In most Sahara sub repositories we have _package_/tests/unit or _package_/tests that contains Python unit tests.

Integration tests

We have integration tests for the main Sahara service and they are located in sahara/tests/integration. The main purpose of these integration tests is to run some kind of scenarios to test Sahara using all plugins. You can find more info about it in sahara/tests/integration/README.rst.

Tempest tests

We have some tests in Tempest (https://github.com/openstack/tempest) that are testing Sahara. Here is a list of currently implemented tests:

Selenium Integration tests

We have a bunch of Selenium-based UI tests for Sahara UI in https://git.openstack.org/cgit/openstack/sahara-dashboard repository. The following UI parts are covered:

  • Clusters
  • Cluster templates
  • Node group templates
  • Image registry
  • Data sources
  • Job binaries
  • Jobs
  • Job executions

Table Of Contents

Previous topic

Adding Database Migrations

Next topic

Pluggable Provisioning Mechanism

This Page