OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
|1 month ago|
|doc/source||2 years ago|
|fuel_ccp_tests||1 year ago|
|.gitignore||2 years ago|
|.gitreview||1 month ago|
|LICENSE||2 years ago|
|README.rst||2 years ago|
|pytest.ini||2 years ago|
|setup.cfg||2 years ago|
|setup.py||2 years ago|
|test-requirements.txt||2 years ago|
|tox.ini||2 years ago|
` fuel_ccp_tests ├── fixtures ├── helpers ├── logs ├── managers │ └── k8s ├── templates │ ├── ccp_deploy_topology │ ├── misc │ └── registry_templates └── tests ├── component │ ├── ccp │ ├── ceph │ ├── k8s │ ├── stacklight │ ├── ui │ └── underlay ├── non-functional ├── system │ ├── pre_commit └── unit`
The directory contains py.test fixtures
Contains set of helper methods: checkers, command executors in the container...
Contains: envmanager - virtual machine layer, snapshot, revert; underlay_ssh_manager - exists for giving possibility manage the environment, existed or created by tests; k8smanager - k8s cluster management.
Contains .yaml templates with environment configuration(virtual machines, networks, registry)
The fuel-ccp-test are performed to verify that the completed software (ccp) functions according to the expectations defined by the requirements.
The tests depended on purpose are divided on several categories.
Consists from several subgroups. The ccp subgroup includes:
Consists from 2 categories precommit and system. The purpose of the system tests is to maintain the quality of calico, ccp installation, ccp deployment with one/several os, k8s scaling, netchecker. The purpose of precommit is to check cluster components. For the correct precommit execution SERVICE_PATH variable should contains path to fuel-ccp-<some_repo> code with changes. The names of precommit tests were choosing according to the tested components.
To execute tests necessary to add value to several variables via export or in the test command. Variables:
After exporting execute the command:
py.test -vvv -s -k <test_name> or py.test -vvv -s -m <test_mark>