diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a26602 --- /dev/null +++ b/README.md @@ -0,0 +1,58 @@ +# Stacklight tests + + +This project based on two other projects: + + * Devops: [Devops documentation](http://docs.fuel-infra.org/fuel-dev/devops.html) + + * Fuel-QA: [Fuel-QA documentation](https://docs.fuel-infra.org/fuel-qa/) + + +## Step-by-step guide: + + +1. Prepare the environment: + + * `vi openrc` + + * `. openrc` + + * `./utils/fuel-qa-builder/prepare_env.sh` + + +2. Run the tests: + + `./utils/jenkins/system_tests.sh -k -K -j fuelweb_test -t test -w $(pwd) -o --group=` + + You can read more about on https://docs.fuel-infra.org/fuel-qa/ or + run it next way to view help: `./utils/jenkins/system_tests.sh -h`. + + + +## To contributors: + +Please, follow next rules: + +* run `tox` or `tox -epep8` before send to review + +* try to reuse in dependencies previous deployed environment in +`@test(depends_on=[]` +(usually basic env is deployed in smoke bvt tests) + +* mark test group following next pattern: + + ``` + @test(groups=["", + "", + "", + ""]) + ``` + + For example: + + ``` + @test(groups=["install_influxdb_grafana", + "install", + "influxdb_grafana", + "smoke"]) + ``` \ No newline at end of file diff --git a/README.rst b/README.rst deleted file mode 100644 index 74f92cc..0000000 --- a/README.rst +++ /dev/null @@ -1,23 +0,0 @@ -Stacklight tests ----------------- - -Project based on two other projects: - * Devops - * Fuel-QA - - [Devops documentation](http://docs.fuel-infra.org/fuel-dev/devops.html) - [Fuel-QA documentation](https://docs.fuel-infra.org/fuel-qa/) - - -Step-by-step guide: -------------------- - -#. Prepare env: - * vi openrc - * . openrc - * ./utils/fuel-qa-builder/prepare_env.sh - -#. Run tests: - Use fuel-qa technique, you can read more about it on https://docs.fuel-infra.org/fuel-qa/ - Basic method to run for developers is: - ./utils/jenkins/system_tests.sh -k -K -j fuelweb_test -t test -w $(pwd) -o --group= \ No newline at end of file diff --git a/stacklight_tests/helpers/__init__.py b/stacklight_tests/helpers/__init__.py new file mode 100644 index 0000000..e69de29