You must configure a testing environment to ensure you plugin code quality.
Use the following resources to download test, examples, and instructions on how to configure a testing environment:
Follow these additional guidelines on creating and formating your own tests:
TestBasic
class in base_test_case.py
, where the Fuel web client
initialization is performed.@test
.depends_on
method or test
which means that this
test case does not run until the depends_on
method or test
is done.Prepare a testing environment
Clone the fuel-qa
Git repository:
git clone https://github.com/stackforge/fuel-qa
Activate the virtual environment:
source ~/venv-nailgun-tests-2.9/bin/activate
Export the Fuel ISO:
export ISO_PATH=path-to-iso
Go to fuel-qa
:
cd fuel-qa/
Start the tests:
./utils/jenkins/system_tests.sh -t test -w \
$(pwd) -j fuelweb_test -i $ISO_PATH -o --group=setup
For additional information, type:
./utils/jenkins/system_tests.sh -h
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.