[Avocado-devel] Global parameters file
Cleber Rosa
crosa at redhat.com
Tue Feb 5 18:19:27 UTC 2019
On 2/5/19 12:09 PM, Alan Martinovic wrote:
> Hi,
> is it possible to have tests share a parameters file?
>
> The use case I'm coming from is having to insert wifi credentials
> during different tests and would like to have that entered only
> in a single config file.
>
> Be Well,
> Alan
Hi Alan,
You can have parameters that will indeed apply to all tests you run in a
job. Are you using a particular varianter plugin? If not, a simple:
$ avocado run -p wifi_credentials=xxxxxx my/tests/
Should work. If you are using a varianter plugin, it will depend on
which one.
- Cleber.
More information about the Avocado-devel
mailing list