Dne 5.5.2016 v 17:16 Andrei Stepanov napsal(a): > Hello. > > I want to propose to add to avocado-vt "info_xxx" field. > As you know, avocado-vt tests use cartesian configs. > Test is a dictionary with combination of entries from different variants. > Test name is something like: Selection1.Selection2.Selection3.... > > variants: > -selection1 > info = What is about selection1 > -selection2 > > variants: > - selection3 > info = What is about selection3 > > Resulted tests are: > * selection1.selection3 > * selection2.selection3 > > > I would like to have option for avocado to see the provided info for nodes. > > Example: > > ./avocado list --vt-type xxx filter --show-help > > As a result I want to get something like: > > Test name: selection1.selection3 > Help for node selection1: > > What is about selection1 > > Help for node selection3: > > What is about selection3 > > > > This would be a perfect place to write what a test is about. > What do you think? > > > _______________________________________________ > Avocado-devel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/avocado-devel >
Well although I don't really need this feature, I see some benefit in it. We already have `--dry-run`, which simply lists avocado (not avocado-vt) params. How about adding `--help-run`, which would instantiate the class and run `help` method instead of the method? For avocado tests that could be listing the class' `docstring`, for avocado-vt it could be inspecting and listing the `run` method's `docstring`. (for external-runner, you'd get description of external-runner + the current external-runner and so on...) I see a benefit in something like this, but I don't see it as a big priority right now (which means you'd have to implement it yourself). Anyway @core team what do you think? Kind regards, Lukáš
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Avocado-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/avocado-devel
