dd073ff6c4
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. |
||
---|---|---|
doc | ||
fixtures | ||
requirements | ||
stacklight_tests | ||
utils | ||
.gitignore | ||
.gitreview | ||
openrc.default | ||
README.md | ||
tox.ini |
StackLight tests
This project contains the functional tests for the StackLight plugins.
It is based on two other projects:
-
Fuel-Devops (documentation).
-
Fuel-QA (documentation).
Getting started
-
Provision the SQL database for fuel-qa (see the official documentation for the detailed procedure).
-
Prepare the environment:
cp openrc.default openrc # Edit the openrc file as needed . openrc # You can also pass a MOS version (default is 9.0 it not specified) . openrc 7.0 ./utils/fuel-qa-builder/prepare_env.sh
-
Activate the Python virtual environment:
. $VENV_PATH/bin/activate
-
If you want to run UI test in headless mode, install these packages:
sudo apt-get install xvfb firefox -y
-
Run the tests:
./utils/jenkins/system_tests.sh -k -K -j fuelweb_test -t test -w $(pwd) -o --group=<your_test_group_to_run>
Documentation
The test cases include comments that can be turned into human-readable documentation:
tox -edocs
The generated documentation is available at doc/_build/html/index.html
.
Contributing
If you would like to contribute to the development of this plugin, you must follow the OpenStack development workflow instructions.
Patch reviews take place on the OpenStack Gerrit system.
Guidelines:
- Run
tox
before submitting a review. You can change MOS version depending on what argument you specified earlier (default is mos9)
VERSION=mos7 MOS_VERSION=7.0 tox
VERSION=mos9 MOS_VERSION=9.1 tox
- Declare test groups using the @test decorator (see the Proboscis documentation for details)
@test(groups=["<full_unique_name_of_test>",
"<test_method_purpose>",
"<plugin_name>",
"<test_category>"])
For example
@test(groups=["install_influxdb_grafana",
"install",
"influxdb_grafana",
"smoke"])
def install_influxdb_grafana():
....
Communication
The OpenStack Development Mailing List is the preferred way to communicate
with the members of the project.
Emails should be sent to openstack-dev@lists.openstack.org
with the subject
prefixed by [fuel][plugins][lma]
.