Page tree
Skip to end of metadata
Go to start of metadata

Overview

Currently the SNAPS-OO library has over 215 tests and counting that were written primarily to exercise the library's class constructors and methods as well as utility functions. These tests are currently broken down into four categories by the utility snaps.test_suite_builder. Please see the following markdown files in <git>/docs/: Testing.md (explains how to run unit_test_suite.py), UnitTests.md (lists all of the unit test classes), APITests.md (describes each of the API tests), IntegrationTests.md (describes each of the integration tests).

Unit Tests - tests that can be run without any external components (OpenStack in this case)

OpenStack Client Tests - tests the ability to obtain a connection to each API (keystone, glance, neutron, nova).

API/Component Tests - tests the utility function calls to OpenStack with no or minimal dependencies

Integration Tests - creates entire virtual environments generally including: user, project, flavor(s), image(s), keypairs, network(s)/subnet(s), router(s), VM instance(s).

  • No labels