Open FighterNan opened 2 years ago
We currently have that testing done under the Redfish-Usecase-Checkers project here: https://github.com/DMTF/Redfish-Usecase-Checkers/tree/master/query_parameters
I do wonder if it's worth migrating that testing to the protocol validator though; now that I think about it a bit more, it's not really a "usecase".
@jautor do you have any opinion?
There's certainly some amount of validation we should do in the Protocol-Validator since we can detect the support based on the ProtocolFeaturesSupported
. But there may be limits on what we can reasonably test consistently across implementations - so I expect we'd still have more exhaustive (and more flexible) test cases in the use case checker regardless.
I think given the scope of the existing usecase checker, we can add the same determinism since it also is relying on service root to "discover" what is supported. At this time, there's nothing too exotic in my opinion.
Migrated issue to the protocol validator (service validator is strictly resource conformance against schema).
Is query parameters testing in the roadmap of this repo?
If so, what's the planned workflow? I would imagine we firstly check the |ProtocolFeaturesSupported| on service root, if certain parameters are supported, we pick some resources (or walk through every resource), apply query parameters on them, and finally check the result according to these rules:
Any better ideas?