Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameters/arguments to specific tests #45

Open
D3vil0p3r opened this issue Sep 8, 2024 · 0 comments
Open

Add parameters/arguments to specific tests #45

D3vil0p3r opened this issue Sep 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@D3vil0p3r
Copy link

What would you like to be added:
@popey @flexiondotorg A very useful and flexible feature to add could be the adding of the possibility to pass arguments/parameters to be used inside test files. For example, a Linux distro can allow you to select GNOME or KDE as Desktop Environment.
Instead of create two separated files for tests, it could be useful to have a single file, with if statement, to manage something like:

if $1 == "gnome" (so if you passed "gnome" as input argument of "quicktest" command, run "qt_send_key_combo "down"", otherwise just press enter.

Why is this needed:
It provides huge flexibility on performing tests with one single file where to test scenarios with different conditions.

Additional context:

@D3vil0p3r D3vil0p3r added the enhancement New feature or request label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant