e758028bcc
Since Sahara Dashboard is merged in Horizon in Juno, all references to it are removed. Closes-Bug: #1371357 Change-Id: I5a0150dce94d95357f97e2607f5dcb95671f6ab7
1.4 KiB
1.4 KiB
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:
- REST API tests are checking how the Sahara REST API works. The only part that is not tested is cluster creation, more info about api tests - http://docs.openstack.org/developer/tempest/field_guide/api.html
- CLI tests are checking read-only operations using the Sahara CLI, more info -http://docs.openstack.org/developer/tempest/field_guide/cli.html
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