-
Notifications
You must be signed in to change notification settings - Fork 247
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
tests: Add feature presence test suite #7597
base: master
Are you sure you want to change the base?
Conversation
1ecd723
to
687615d
Compare
687615d
to
81da5b2
Compare
We need to check that features are present where expected.
81da5b2
to
af782a6
Compare
Please note my comment at SSSD/sssd-test-framework#133 (comment) |
Hi @ikerexxe ,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A suggestion: Could we manually verify the package info? These changes don't need testing in henceforth.
You can use parametrization to avoid having a very long test. After all, if you look at the tests you have written they all do the same thing: they check the version of sssd and check that the functionality is (or is not) available in that specific version. |
Hi @ikerexxe I am pondering how to parametrize that apart from having something like dictionary with feature as key and Some kind of list with distribution minversion maxversion. Can You elaborate/show me some snippet? |
Looks test for "files-provider" does not work properly on centos 9 as it seems to be present on sssd 2.10 there. I guess these tests need tweaking if this is the intended result. |
@jakub-vavra-cz that's exactly what I had in mind. If you want to be more comprehensive and take into account the passkey functionality then you should also add the distribution and the version from which it is available. |
We need to check that features are present where expected.