Parameters¶
The following parameters are supported:
become_password¶
- -K (become password): Specify a password to become root, default empty.
./testme.sh -K my_password
clock¶
- -k (clock): Measure execution time, if present display in minutes the time the process took.
./testme.sh -k
docker_image¶
- -D (Docker image): Optional Docker image to use.
If this parameter is not specified, a debian:stable-slim image is used.
./testme.sh -d
executable¶
-x (python executable): This parameter can only take the values python or python3, and indicates wich executable to use when running python tasks.
If python3 is available, this parameter defaults to python3, otherwise python is used.
./testme.sh -x python3
recursive¶
- -r (recursive): Enter recursively each directory on project’s root directory and execute every testme.sh script found, the current folder is also included.
To avoid executing tests on a specific folder when running recursively, create a .testignore file on that folder, this is useful for example for running extensive bats tests on travis-ci and avoid error throwing for no logging in a long time.
./testme.sh -r
type¶
- -t (type): This parameter indicates which types of resources to process.
The allowed values are:
- a : ansible.
- b : bats.
- m : molecule.
- p : pytest.
- t : tox.
- y : poetry.
This parameter is empty by default.
./testme.sh -t abmpty