Actions
action #89539
closedAdd documentation and unit tests to AutoYaST profile validator
Start date:
2021-03-05
Due date:
% Done:
0%
Estimated time:
Description
After we see that work in #88606 is stable we should add documentation and unit tests to AutoYaST profile validator.
Perl POD documentation is available here: https://os-autoinst.github.io/os-autoinst-distri-opensuse/
We can either inject documentation there, e.g. to validate_autoyast_profile method description or write it separately. Main goal is that it's clear what has to be defined in the YAML test data to validate given autoyast profile.
Following methods should be covered with unit tests:
- validate_autoyast_profile
- is_processable
- has_properties
- create_xpath_predicate
- close_predicate
- ns
- get_traversable
- get_descendant
- generate_expressions
Acceptance criteria¶
Actions