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 parametrizable tests #103

Merged
merged 5 commits into from
Apr 20, 2024
Merged

Add parametrizable tests #103

merged 5 commits into from
Apr 20, 2024

Conversation

SanderMertens
Copy link
Owner

@SanderMertens SanderMertens commented Apr 20, 2024

This PR adds a feature that enables parametrizable test cases. Example:

{
    "id": "MySuite",
    "params": {
        "kind": ["foo", "bar"]
    }
}

The MySuite test suite will be executed twice, once with foo as value for the kind parameter, and once with bar. Test cases can get the parameter value with test_param(param_name).

@SanderMertens SanderMertens merged commit bcce194 into master Apr 20, 2024
8 checks passed
@SanderMertens SanderMertens deleted the test_params branch April 20, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant